Skip to content

Commit

Permalink
Updated API models and rebuilt service gems.
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Ruby authored and Nobody committed Mar 24, 2022
1 parent 0573488 commit 16bf874
Show file tree
Hide file tree
Showing 27 changed files with 1,306 additions and 263 deletions.
150 changes: 140 additions & 10 deletions apis/config/2014-11-12/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -732,6 +732,18 @@
{"shape":"InvalidNextTokenException"}
]
},
"GetCustomRulePolicy":{
"name":"GetCustomRulePolicy",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"GetCustomRulePolicyRequest"},
"output":{"shape":"GetCustomRulePolicyResponse"},
"errors":[
{"shape":"NoSuchConfigRuleException"}
]
},
"GetDiscoveredResourceCounts":{
"name":"GetDiscoveredResourceCounts",
"http":{
Expand Down Expand Up @@ -776,6 +788,19 @@
{"shape":"OrganizationAccessDeniedException"}
]
},
"GetOrganizationCustomRulePolicy":{
"name":"GetOrganizationCustomRulePolicy",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"GetOrganizationCustomRulePolicyRequest"},
"output":{"shape":"GetOrganizationCustomRulePolicyResponse"},
"errors":[
{"shape":"NoSuchOrganizationConfigRuleException"},
{"shape":"OrganizationAccessDeniedException"}
]
},
"GetResourceConfigHistory":{
"name":"GetResourceConfigHistory",
"http":{
Expand Down Expand Up @@ -1637,7 +1662,10 @@
"LastDeactivatedTime":{"shape":"Date"},
"LastErrorCode":{"shape":"String"},
"LastErrorMessage":{"shape":"String"},
"FirstEvaluationStarted":{"shape":"Boolean"}
"FirstEvaluationStarted":{"shape":"Boolean"},
"LastDebugLogDeliveryStatus":{"shape":"String"},
"LastDebugLogDeliveryStatusReason":{"shape":"String"},
"LastDebugLogDeliveryTime":{"shape":"Date"}
}
},
"ConfigRuleEvaluationStatusList":{
Expand Down Expand Up @@ -2007,7 +2035,25 @@
"max":100,
"min":0
},
"CustomPolicyDetails":{
"type":"structure",
"required":[
"PolicyRuntime",
"PolicyText"
],
"members":{
"PolicyRuntime":{"shape":"PolicyRuntime"},
"PolicyText":{"shape":"PolicyText"},
"EnableDebugLogDelivery":{"shape":"Boolean"}
}
},
"Date":{"type":"timestamp"},
"DebugLogDeliveryAccounts":{
"type":"list",
"member":{"shape":"AccountId"},
"max":1000,
"min":0
},
"DeleteAggregationAuthorizationRequest":{
"type":"structure",
"required":[
Expand Down Expand Up @@ -2940,6 +2986,18 @@
"NextToken":{"shape":"NextToken"}
}
},
"GetCustomRulePolicyRequest":{
"type":"structure",
"members":{
"ConfigRuleName":{"shape":"ConfigRuleName"}
}
},
"GetCustomRulePolicyResponse":{
"type":"structure",
"members":{
"PolicyText":{"shape":"PolicyText"}
}
},
"GetDiscoveredResourceCountsRequest":{
"type":"structure",
"members":{
Expand Down Expand Up @@ -2990,6 +3048,19 @@
"NextToken":{"shape":"String"}
}
},
"GetOrganizationCustomRulePolicyRequest":{
"type":"structure",
"required":["OrganizationConfigRuleName"],
"members":{
"OrganizationConfigRuleName":{"shape":"OrganizationConfigRuleName"}
}
},
"GetOrganizationCustomRulePolicyResponse":{
"type":"structure",
"members":{
"PolicyText":{"shape":"PolicyText"}
}
},
"GetResourceConfigHistoryRequest":{
"type":"structure",
"required":[
Expand Down Expand Up @@ -3462,7 +3533,8 @@
"OrganizationManagedRuleMetadata":{"shape":"OrganizationManagedRuleMetadata"},
"OrganizationCustomRuleMetadata":{"shape":"OrganizationCustomRuleMetadata"},
"ExcludedAccounts":{"shape":"ExcludedAccounts"},
"LastUpdateTime":{"shape":"Date"}
"LastUpdateTime":{"shape":"Date"},
"OrganizationCustomPolicyRuleMetadata":{"shape":"OrganizationCustomPolicyRuleMetadataNoPolicy"}
}
},
"OrganizationConfigRuleDetailedStatus":{
Expand Down Expand Up @@ -3507,6 +3579,17 @@
"ScheduledNotification"
]
},
"OrganizationConfigRuleTriggerTypeNoSN":{
"type":"string",
"enum":[
"ConfigurationItemChangeNotification",
"OversizedConfigurationItemChangeNotification"
]
},
"OrganizationConfigRuleTriggerTypeNoSNs":{
"type":"list",
"member":{"shape":"OrganizationConfigRuleTriggerTypeNoSN"}
},
"OrganizationConfigRuleTriggerTypes":{
"type":"list",
"member":{"shape":"OrganizationConfigRuleTriggerType"}
Expand Down Expand Up @@ -3592,6 +3675,41 @@
"type":"list",
"member":{"shape":"OrganizationConformancePack"}
},
"OrganizationCustomPolicyRuleMetadata":{
"type":"structure",
"required":[
"PolicyRuntime",
"PolicyText"
],
"members":{
"Description":{"shape":"StringWithCharLimit256Min0"},
"OrganizationConfigRuleTriggerTypes":{"shape":"OrganizationConfigRuleTriggerTypeNoSNs"},
"InputParameters":{"shape":"StringWithCharLimit2048"},
"MaximumExecutionFrequency":{"shape":"MaximumExecutionFrequency"},
"ResourceTypesScope":{"shape":"ResourceTypesScope"},
"ResourceIdScope":{"shape":"StringWithCharLimit768"},
"TagKeyScope":{"shape":"StringWithCharLimit128"},
"TagValueScope":{"shape":"StringWithCharLimit256"},
"PolicyRuntime":{"shape":"PolicyRuntime"},
"PolicyText":{"shape":"PolicyText"},
"DebugLogDeliveryAccounts":{"shape":"DebugLogDeliveryAccounts"}
}
},
"OrganizationCustomPolicyRuleMetadataNoPolicy":{
"type":"structure",
"members":{
"Description":{"shape":"StringWithCharLimit256Min0"},
"OrganizationConfigRuleTriggerTypes":{"shape":"OrganizationConfigRuleTriggerTypeNoSNs"},
"InputParameters":{"shape":"StringWithCharLimit2048"},
"MaximumExecutionFrequency":{"shape":"MaximumExecutionFrequency"},
"ResourceTypesScope":{"shape":"ResourceTypesScope"},
"ResourceIdScope":{"shape":"StringWithCharLimit768"},
"TagKeyScope":{"shape":"StringWithCharLimit128"},
"TagValueScope":{"shape":"StringWithCharLimit256"},
"PolicyRuntime":{"shape":"PolicyRuntime"},
"DebugLogDeliveryAccounts":{"shape":"DebugLogDeliveryAccounts"}
}
},
"OrganizationCustomRuleMetadata":{
"type":"structure",
"required":[
Expand Down Expand Up @@ -3683,7 +3801,8 @@
"type":"string",
"enum":[
"CUSTOM_LAMBDA",
"AWS"
"AWS",
"CUSTOM_POLICY"
]
},
"PageSizeLimit":{
Expand Down Expand Up @@ -3718,6 +3837,17 @@
"max":100,
"min":1
},
"PolicyRuntime":{
"type":"string",
"max":64,
"min":1,
"pattern":"guard\\-2\\.x\\.x"
},
"PolicyText":{
"type":"string",
"max":10000,
"min":0
},
"PutAggregationAuthorizationRequest":{
"type":"structure",
"required":[
Expand Down Expand Up @@ -3830,7 +3960,8 @@
"OrganizationConfigRuleName":{"shape":"OrganizationConfigRuleName"},
"OrganizationManagedRuleMetadata":{"shape":"OrganizationManagedRuleMetadata"},
"OrganizationCustomRuleMetadata":{"shape":"OrganizationCustomRuleMetadata"},
"ExcludedAccounts":{"shape":"ExcludedAccounts"}
"ExcludedAccounts":{"shape":"ExcludedAccounts"},
"OrganizationCustomPolicyRuleMetadata":{"shape":"OrganizationCustomPolicyRuleMetadata"}
}
},
"PutOrganizationConfigRuleResponse":{
Expand Down Expand Up @@ -4375,7 +4506,8 @@
"AWS::CodeDeploy::DeploymentConfig",
"AWS::CodeDeploy::DeploymentGroup",
"AWS::EC2::LaunchTemplate",
"AWS::ECR::PublicRepository"
"AWS::ECR::PublicRepository",
"AWS::GuardDuty::Detector"
]
},
"ResourceTypeList":{
Expand Down Expand Up @@ -4507,14 +4639,12 @@
},
"Source":{
"type":"structure",
"required":[
"Owner",
"SourceIdentifier"
],
"required":["Owner"],
"members":{
"Owner":{"shape":"Owner"},
"SourceIdentifier":{"shape":"StringWithCharLimit256"},
"SourceDetails":{"shape":"SourceDetails"}
"SourceDetails":{"shape":"SourceDetails"},
"CustomPolicyDetails":{"shape":"CustomPolicyDetails"}
}
},
"SourceDetail":{
Expand Down
Loading

0 comments on commit 16bf874

Please sign in to comment.