Skip to content

Commit 323374b

Browse files
AWS SDK for RubyNobody
authored andcommitted
Updated service API models for release.
1 parent ebc9699 commit 323374b

File tree

5 files changed

+219
-15
lines changed

5 files changed

+219
-15
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Unreleased Changes
22
------------------
33

4+
* Feature - Aws::ConfigService - Updated the API, and documentation for AWS Config.
5+
6+
* Feature - Aws::EKS - Updated the API, and documentation for Amazon Elastic Container Service for Kubernetes.
7+
48
2.11.242 (2019-03-18)
59
------------------
610

aws-sdk-core/apis/config/2014-11-12/api-2.json

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -665,6 +665,20 @@
665665
{"shape":"MaxNumberOfRetentionConfigurationsExceededException"}
666666
]
667667
},
668+
"SelectResourceConfig":{
669+
"name":"SelectResourceConfig",
670+
"http":{
671+
"method":"POST",
672+
"requestUri":"/"
673+
},
674+
"input":{"shape":"SelectResourceConfigRequest"},
675+
"output":{"shape":"SelectResourceConfigResponse"},
676+
"errors":[
677+
{"shape":"InvalidExpressionException"},
678+
{"shape":"InvalidLimitException"},
679+
{"shape":"InvalidNextTokenException"}
680+
]
681+
},
668682
"StartConfigRulesEvaluation":{
669683
"name":"StartConfigRulesEvaluation",
670684
"http":{
@@ -1690,6 +1704,11 @@
16901704
"type":"string",
16911705
"enum":["aws.config"]
16921706
},
1707+
"Expression":{
1708+
"type":"string",
1709+
"max":4096,
1710+
"min":1
1711+
},
16931712
"FailedRemediationBatch":{
16941713
"type":"structure",
16951714
"members":{
@@ -1701,6 +1720,17 @@
17011720
"type":"list",
17021721
"member":{"shape":"FailedRemediationBatch"}
17031722
},
1723+
"FieldInfo":{
1724+
"type":"structure",
1725+
"members":{
1726+
"Name":{"shape":"FieldName"}
1727+
}
1728+
},
1729+
"FieldInfoList":{
1730+
"type":"list",
1731+
"member":{"shape":"FieldInfo"}
1732+
},
1733+
"FieldName":{"type":"string"},
17041734
"GetAggregateComplianceDetailsByConfigRuleRequest":{
17051735
"type":"structure",
17061736
"required":[
@@ -1923,6 +1953,12 @@
19231953
},
19241954
"exception":true
19251955
},
1956+
"InvalidExpressionException":{
1957+
"type":"structure",
1958+
"members":{
1959+
},
1960+
"exception":true
1961+
},
19261962
"InvalidLimitException":{
19271963
"type":"structure",
19281964
"members":{
@@ -2303,6 +2339,12 @@
23032339
"RetentionConfiguration":{"shape":"RetentionConfiguration"}
23042340
}
23052341
},
2342+
"QueryInfo":{
2343+
"type":"structure",
2344+
"members":{
2345+
"SelectFields":{"shape":"FieldInfoList"}
2346+
}
2347+
},
23062348
"RecorderName":{
23072349
"type":"string",
23082350
"max":256,
@@ -2625,6 +2667,10 @@
26252667
"type":"string",
26262668
"enum":["RESOURCE_ID"]
26272669
},
2670+
"Results":{
2671+
"type":"list",
2672+
"member":{"shape":"String"}
2673+
},
26282674
"RetentionConfiguration":{
26292675
"type":"structure",
26302676
"required":[
@@ -2671,6 +2717,23 @@
26712717
"ComplianceResourceId":{"shape":"BaseResourceId"}
26722718
}
26732719
},
2720+
"SelectResourceConfigRequest":{
2721+
"type":"structure",
2722+
"required":["Expression"],
2723+
"members":{
2724+
"Expression":{"shape":"Expression"},
2725+
"Limit":{"shape":"Limit"},
2726+
"NextToken":{"shape":"NextToken"}
2727+
}
2728+
},
2729+
"SelectResourceConfigResponse":{
2730+
"type":"structure",
2731+
"members":{
2732+
"Results":{"shape":"Results"},
2733+
"QueryInfo":{"shape":"QueryInfo"},
2734+
"NextToken":{"shape":"NextToken"}
2735+
}
2736+
},
26742737
"Source":{
26752738
"type":"structure",
26762739
"required":[

aws-sdk-core/apis/config/2014-11-12/docs-2.json

Lines changed: 59 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"DescribeComplianceByResource": "<p>Indicates whether the specified AWS resources are compliant. If a resource is noncompliant, this action returns the number of AWS Config rules that the resource does not comply with.</p> <p>A resource is compliant if it complies with all the AWS Config rules that evaluate it. It is noncompliant if it does not comply with one or more of these rules.</p> <p>If AWS Config has no current evaluation results for the resource, it returns <code>INSUFFICIENT_DATA</code>. This result might indicate one of the following conditions about the rules that evaluate the resource:</p> <ul> <li> <p>AWS Config has never invoked an evaluation for the rule. To check whether it has, use the <code>DescribeConfigRuleEvaluationStatus</code> action to get the <code>LastSuccessfulInvocationTime</code> and <code>LastFailedInvocationTime</code>.</p> </li> <li> <p>The rule's AWS Lambda function is failing to send evaluation results to AWS Config. Verify that the role that you assigned to your configuration recorder includes the <code>config:PutEvaluations</code> permission. If the rule is a custom rule, verify that the AWS Lambda execution role includes the <code>config:PutEvaluations</code> permission.</p> </li> <li> <p>The rule's AWS Lambda function has returned <code>NOT_APPLICABLE</code> for all evaluation results. This can occur if the resources were deleted or removed from the rule's scope.</p> </li> </ul>",
2121
"DescribeConfigRuleEvaluationStatus": "<p>Returns status information for each of your AWS managed Config rules. The status includes information such as the last time AWS Config invoked the rule, the last time AWS Config failed to invoke the rule, and the related error for the last failure.</p>",
2222
"DescribeConfigRules": "<p>Returns details about your AWS Config rules.</p>",
23-
"DescribeConfigurationAggregatorSourcesStatus": "<p> Returns status information for sources within an aggregator. The status includes information about the last time AWS Config verified authorization between the source account and an aggregator account. In case of a failure, the status contains the related error code or message. </p>",
23+
"DescribeConfigurationAggregatorSourcesStatus": "<p>Returns status information for sources within an aggregator. The status includes information about the last time AWS Config verified authorization between the source account and an aggregator account. In case of a failure, the status contains the related error code or message. </p>",
2424
"DescribeConfigurationAggregators": "<p>Returns the details of one or more configuration aggregators. If the configuration aggregator is not specified, this action returns the details for all the configuration aggregators associated with the account. </p>",
2525
"DescribeConfigurationRecorderStatus": "<p>Returns the current status of the specified configuration recorder. If a configuration recorder is not specified, this action returns the status of all configuration recorders associated with the account.</p> <note> <p>Currently, you can specify only one configuration recorder per region in your account.</p> </note>",
2626
"DescribeConfigurationRecorders": "<p>Returns the details for the specified configuration recorders. If the configuration recorder is not specified, this action returns the details for all configuration recorders associated with the account.</p> <note> <p>Currently, you can specify only one configuration recorder per region in your account.</p> </note>",
@@ -51,6 +51,7 @@
5151
"PutEvaluations": "<p>Used by an AWS Lambda function to deliver evaluation results to AWS Config. This action is required in every AWS Lambda function that is invoked by an AWS Config rule.</p>",
5252
"PutRemediationConfigurations": "<p>Adds or updates the remediation configuration with a specific AWS Config rule with the selected target or action. The API creates the <code>RemediationConfiguration</code> object for the AWS Config rule. The AWS Config rule must already exist for you to add a remediation configuration. The target (SSM document) must exist and have permissions to use the target. </p>",
5353
"PutRetentionConfiguration": "<p>Creates and updates the retention configuration with details about retention period (number of days) that AWS Config stores your historical information. The API creates the <code>RetentionConfiguration</code> object and names the object as <b>default</b>. When you have a <code>RetentionConfiguration</code> object named <b>default</b>, calling the API modifies the default object. </p> <note> <p>Currently, AWS Config supports only one retention configuration per region in your account.</p> </note>",
54+
"SelectResourceConfig": "<p>Accepts a structured query language (SQL) <code>SELECT</code> command, performs the corresponding search, and returns resource configurations matching the properties.</p> <p>For more information about query components, see the <a href=\"https://docs.aws.amazon.com/config/latest/developerguide/query-components.html\"> <b>Query Components</b> </a> section in the AWS Config Developer Guide.</p>",
5455
"StartConfigRulesEvaluation": "<p>Runs an on-demand evaluation for the specified AWS Config rules against the last known configuration state of the resources. Use <code>StartConfigRulesEvaluation</code> when you want to test that a rule you updated is working as expected. <code>StartConfigRulesEvaluation</code> does not re-record the latest configuration state for your resources. It re-runs an evaluation against the last known state of your resources. </p> <p>You can specify up to 25 AWS Config rules per request. </p> <p>An existing <code>StartConfigRulesEvaluation</code> call for the specified rules must complete before you can call the API again. If you chose to have AWS Config stream to an Amazon SNS topic, you will receive a <code>ConfigRuleEvaluationStarted</code> notification when the evaluation starts.</p> <note> <p>You don't need to call the <code>StartConfigRulesEvaluation</code> API to run an evaluation for a new rule. When you create a rule, AWS Config evaluates your resources against the rule automatically. </p> </note> <p>The <code>StartConfigRulesEvaluation</code> API is useful if you want to run on-demand evaluations, such as the following example:</p> <ol> <li> <p>You have a custom rule that evaluates your IAM resources every 24 hours.</p> </li> <li> <p>You update your Lambda function to add additional conditions to your rule.</p> </li> <li> <p>Instead of waiting for the next periodic evaluation, you call the <code>StartConfigRulesEvaluation</code> API.</p> </li> <li> <p>AWS Config invokes your Lambda function and evaluates your IAM resources.</p> </li> <li> <p>Your custom rule will still run periodic evaluations every 24 hours.</p> </li> </ol>",
5556
"StartConfigurationRecorder": "<p>Starts recording configurations of the AWS resources you have selected to record in your AWS account.</p> <p>You must have created at least one delivery channel to successfully start the configuration recorder.</p>",
5657
"StartRemediationExecution": "<p>Runs an on-demand remediation for the specified AWS Config rules against the last known remediation configuration. It runs an execution against the current state of your resources. Remediation execution is asynchronous.</p> <p>You can specify up to 100 resource keys per request. An existing StartRemediationExecution call for the specified resource keys must complete before you can call the API again.</p>",
@@ -972,6 +973,12 @@
972973
"SourceDetail$EventSource": "<p>The source of the event, such as an AWS service, that triggers AWS Config to evaluate your AWS resources.</p>"
973974
}
974975
},
976+
"Expression": {
977+
"base": null,
978+
"refs": {
979+
"SelectResourceConfigRequest$Expression": "<p>The SQL query <code>SELECT</code> command.</p>"
980+
}
981+
},
975982
"FailedRemediationBatch": {
976983
"base": "<p>List of each of the failed remediations with specific reasons.</p>",
977984
"refs": {
@@ -984,6 +991,24 @@
984991
"PutRemediationConfigurationsResponse$FailedBatches": "<p>Returns a list of failed remediation batch objects.</p>"
985992
}
986993
},
994+
"FieldInfo": {
995+
"base": "<p>Details about the fields such as name of the field.</p>",
996+
"refs": {
997+
"FieldInfoList$member": null
998+
}
999+
},
1000+
"FieldInfoList": {
1001+
"base": null,
1002+
"refs": {
1003+
"QueryInfo$SelectFields": "<p>Returns a <code>FieldInfo</code> object.</p>"
1004+
}
1005+
},
1006+
"FieldName": {
1007+
"base": null,
1008+
"refs": {
1009+
"FieldInfo$Name": "<p>Name of the field.</p>"
1010+
}
1011+
},
9871012
"GetAggregateComplianceDetailsByConfigRuleRequest": {
9881013
"base": null,
9891014
"refs": {
@@ -1131,6 +1156,11 @@
11311156
"refs": {
11321157
}
11331158
},
1159+
"InvalidExpressionException": {
1160+
"base": "<p>The syntax of the query is incorrect.</p>",
1161+
"refs": {
1162+
}
1163+
},
11341164
"InvalidLimitException": {
11351165
"base": "<p>The specified limit is outside the allowable range.</p>",
11361166
"refs": {
@@ -1201,7 +1231,8 @@
12011231
"GetResourceConfigHistoryRequest$limit": "<p>The maximum number of configuration items returned on each page. The default is 10. You cannot specify a number greater than 100. If you specify 0, AWS Config uses the default.</p>",
12021232
"ListAggregateDiscoveredResourcesRequest$Limit": "<p>The maximum number of resource identifiers returned on each page. The default is 100. You cannot specify a number greater than 100. If you specify 0, AWS Config uses the default.</p>",
12031233
"ListDiscoveredResourcesRequest$limit": "<p>The maximum number of resource identifiers returned on each page. The default is 100. You cannot specify a number greater than 100. If you specify 0, AWS Config uses the default.</p>",
1204-
"ListTagsForResourceRequest$Limit": "<p>The maximum number of tags returned on each page. The limit maximum is 50. You cannot specify a number greater than 50. If you specify 0, AWS Config uses the default. </p>"
1234+
"ListTagsForResourceRequest$Limit": "<p>The maximum number of tags returned on each page. The limit maximum is 50. You cannot specify a number greater than 50. If you specify 0, AWS Config uses the default. </p>",
1235+
"SelectResourceConfigRequest$Limit": "<p>The maximum number of query results returned on each page. </p>"
12051236
}
12061237
},
12071238
"LimitExceededException": {
@@ -1314,7 +1345,9 @@
13141345
"ListDiscoveredResourcesRequest$nextToken": "<p>The <code>nextToken</code> string returned on a previous page that you use to get the next page of results in a paginated response.</p>",
13151346
"ListDiscoveredResourcesResponse$nextToken": "<p>The string that you use in a subsequent request to get the next page of results in a paginated response.</p>",
13161347
"ListTagsForResourceRequest$NextToken": "<p>The nextToken string returned on a previous page that you use to get the next page of results in a paginated response. </p>",
1317-
"ListTagsForResourceResponse$NextToken": "<p>The nextToken string returned on a previous page that you use to get the next page of results in a paginated response. </p>"
1348+
"ListTagsForResourceResponse$NextToken": "<p>The nextToken string returned on a previous page that you use to get the next page of results in a paginated response. </p>",
1349+
"SelectResourceConfigRequest$NextToken": "<p>The <code>nextToken</code> string returned in a previous request that you use to request the next page of results in a paginated response. </p>",
1350+
"SelectResourceConfigResponse$NextToken": "<p>The <code>nextToken</code> string returned in a previous request that you use to request the next page of results in a paginated response. </p>"
13181351
}
13191352
},
13201353
"NoAvailableConfigurationRecorderException": {
@@ -1483,6 +1516,12 @@
14831516
"refs": {
14841517
}
14851518
},
1519+
"QueryInfo": {
1520+
"base": "<p>Details about the query.</p>",
1521+
"refs": {
1522+
"SelectResourceConfigResponse$QueryInfo": "<p>Returns the <code>QueryInfo</code> object.</p>"
1523+
}
1524+
},
14861525
"RecorderName": {
14871526
"base": null,
14881527
"refs": {
@@ -1776,6 +1815,12 @@
17761815
"ResourceValue$Value": "<p>The value is a resource ID.</p>"
17771816
}
17781817
},
1818+
"Results": {
1819+
"base": null,
1820+
"refs": {
1821+
"SelectResourceConfigResponse$Results": "<p>Returns the results for the SQL query.</p>"
1822+
}
1823+
},
17791824
"RetentionConfiguration": {
17801825
"base": "<p>An object with the name of the retention configuration and the retention period in days. The object stores the configuration for data retention in AWS Config.</p>",
17811826
"refs": {
@@ -1822,6 +1867,16 @@
18221867
"ConfigRule$Scope": "<p>Defines which resources can trigger an evaluation for the rule. The scope can include one or more resource types, a combination of one resource type and one resource ID, or a combination of a tag key and value. Specify a scope to constrain the resources that can trigger an evaluation for the rule. If you do not specify a scope, evaluations are triggered when any resource in the recording group changes.</p>"
18231868
}
18241869
},
1870+
"SelectResourceConfigRequest": {
1871+
"base": null,
1872+
"refs": {
1873+
}
1874+
},
1875+
"SelectResourceConfigResponse": {
1876+
"base": null,
1877+
"refs": {
1878+
}
1879+
},
18251880
"Source": {
18261881
"base": "<p>Provides the AWS Config rule owner (AWS or customer), the rule identifier, and the events that trigger the evaluation of your AWS resources.</p>",
18271882
"refs": {
@@ -1934,6 +1989,7 @@
19341989
"RemediationConfiguration$ResourceType": "<p>The type of a resource. </p>",
19351990
"RemediationExecutionStep$Name": "<p>The details of the step.</p>",
19361991
"RemediationExecutionStep$ErrorMessage": "<p>An error message if the step was interrupted during execution.</p>",
1992+
"Results$member": null,
19371993
"StartRemediationExecutionResponse$FailureMessage": "<p>Returns a failure message. For example, the resource is already compliant.</p>"
19381994
}
19391995
},

aws-sdk-core/apis/eks/2017-11-01/api-2.json

Lines changed: 57 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,23 @@
107107
{"shape":"ResourceNotFoundException"}
108108
]
109109
},
110+
"UpdateClusterConfig":{
111+
"name":"UpdateClusterConfig",
112+
"http":{
113+
"method":"POST",
114+
"requestUri":"/clusters/{name}/update-config"
115+
},
116+
"input":{"shape":"UpdateClusterConfigRequest"},
117+
"output":{"shape":"UpdateClusterConfigResponse"},
118+
"errors":[
119+
{"shape":"InvalidParameterException"},
120+
{"shape":"ClientException"},
121+
{"shape":"ServerException"},
122+
{"shape":"ResourceInUseException"},
123+
{"shape":"ResourceNotFoundException"},
124+
{"shape":"InvalidRequestException"}
125+
]
126+
},
110127
"UpdateClusterVersion":{
111128
"name":"UpdateClusterVersion",
112129
"http":{
@@ -126,6 +143,11 @@
126143
}
127144
},
128145
"shapes":{
146+
"Boolean":{"type":"boolean"},
147+
"BoxedBoolean":{
148+
"type":"boolean",
149+
"box":true
150+
},
129151
"Certificate":{
130152
"type":"structure",
131153
"members":{
@@ -433,6 +455,28 @@
433455
"errors":{"shape":"ErrorDetails"}
434456
}
435457
},
458+
"UpdateClusterConfigRequest":{
459+
"type":"structure",
460+
"required":["name"],
461+
"members":{
462+
"name":{
463+
"shape":"String",
464+
"location":"uri",
465+
"locationName":"name"
466+
},
467+
"resourcesVpcConfig":{"shape":"VpcConfigRequest"},
468+
"clientRequestToken":{
469+
"shape":"String",
470+
"idempotencyToken":true
471+
}
472+
}
473+
},
474+
"UpdateClusterConfigResponse":{
475+
"type":"structure",
476+
"members":{
477+
"update":{"shape":"Update"}
478+
}
479+
},
436480
"UpdateClusterVersionRequest":{
437481
"type":"structure",
438482
"required":[
@@ -469,7 +513,9 @@
469513
"type":"string",
470514
"enum":[
471515
"Version",
472-
"PlatformVersion"
516+
"PlatformVersion",
517+
"EndpointPrivateAccess",
518+
"EndpointPublicAccess"
473519
]
474520
},
475521
"UpdateParams":{
@@ -487,22 +533,28 @@
487533
},
488534
"UpdateType":{
489535
"type":"string",
490-
"enum":["VersionUpdate"]
536+
"enum":[
537+
"VersionUpdate",
538+
"EndpointAccessUpdate"
539+
]
491540
},
492541
"VpcConfigRequest":{
493542
"type":"structure",
494-
"required":["subnetIds"],
495543
"members":{
496544
"subnetIds":{"shape":"StringList"},
497-
"securityGroupIds":{"shape":"StringList"}
545+
"securityGroupIds":{"shape":"StringList"},
546+
"endpointPublicAccess":{"shape":"BoxedBoolean"},
547+
"endpointPrivateAccess":{"shape":"BoxedBoolean"}
498548
}
499549
},
500550
"VpcConfigResponse":{
501551
"type":"structure",
502552
"members":{
503553
"subnetIds":{"shape":"StringList"},
504554
"securityGroupIds":{"shape":"StringList"},
505-
"vpcId":{"shape":"String"}
555+
"vpcId":{"shape":"String"},
556+
"endpointPublicAccess":{"shape":"Boolean"},
557+
"endpointPrivateAccess":{"shape":"Boolean"}
506558
}
507559
}
508560
}

0 commit comments

Comments
 (0)