Skip to content

Commit

Permalink
Update SDK models
Browse files Browse the repository at this point in the history
  • Loading branch information
aws-sdk-rust-ci committed Dec 23, 2024
1 parent 169416d commit a62f120
Show file tree
Hide file tree
Showing 89 changed files with 2,826 additions and 1,308 deletions.
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[workspace]
resolver = "2"
exclude = [
"examples/test-utils",
"examples/webassembly",
"examples/cross_service",
"examples/examples",
"examples/lambda",
"examples/webassembly",
"examples/test-utils",
"tests/no-default-features",
"tests/webassembly"
"tests/webassembly",
"tests/no-default-features"
]
members = [
"sdk/accessanalyzer",
Expand Down
556 changes: 63 additions & 493 deletions aws-models/ecr-public.json

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions aws-models/ecr.json
Original file line number Diff line number Diff line change
Expand Up @@ -3499,7 +3499,7 @@
"encryptionType": {
"target": "com.amazonaws.ecr#EncryptionType",
"traits": {
"smithy.api#documentation": "<p>The encryption type to use.</p>\n <p>If you use the <code>KMS</code> encryption type, the contents of the repository will\n be encrypted using server-side encryption with Key Management Service key stored in KMS. When you\n use KMS to encrypt your data, you can either use the default Amazon Web Services managed KMS key\n for Amazon ECR, or specify your own KMS key, which you already created.</p>\n <p>If you use the <code>KMS_DSSE</code> encryption type, the contents of the repository\n will be encrypted with two layers of encryption using server-side encryption with the\n KMS Management Service key stored in KMS. Similar to the <code>KMS</code> encryption type, you\n can either use the default Amazon Web Services managed KMS key for Amazon ECR, or specify your own KMS\n key, which you've already created. </p>\n <p>If you use the <code>AES256</code> encryption type, Amazon ECR uses server-side encryption\n with Amazon S3-managed encryption keys which encrypts the images in the repository using an\n AES256 encryption algorithm.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECR/latest/userguide/encryption-at-rest.html\">Amazon ECR encryption at\n rest</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>",
"smithy.api#documentation": "<p>The encryption type to use.</p>\n <p>If you use the <code>KMS</code> encryption type, the contents of the repository will\n be encrypted using server-side encryption with Key Management Service key stored in KMS. When you\n use KMS to encrypt your data, you can either use the default Amazon Web Services managed KMS key\n for Amazon ECR, or specify your own KMS key, which you already created.</p>\n <p>If you use the <code>KMS_DSSE</code> encryption type, the contents of the repository\n will be encrypted with two layers of encryption using server-side encryption with the\n KMS Management Service key stored in KMS. Similar to the <code>KMS</code> encryption\n type, you can either use the default Amazon Web Services managed KMS key for Amazon ECR, or specify your\n own KMS key, which you've already created. </p>\n <p>If you use the <code>AES256</code> encryption type, Amazon ECR uses server-side encryption\n with Amazon S3-managed encryption keys which encrypts the images in the repository using an\n AES256 encryption algorithm.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECR/latest/userguide/encryption-at-rest.html\">Amazon ECR encryption at\n rest</a> in the <i>Amazon Elastic Container Registry User Guide</i>.</p>",
"smithy.api#required": {}
}
},
Expand Down Expand Up @@ -3784,7 +3784,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Retrieves the basic scan type version name.</p>"
"smithy.api#documentation": "<p>Retrieves the account setting value for the specified setting name.</p>"
}
},
"com.amazonaws.ecr#GetAccountSettingRequest": {
Expand All @@ -3793,7 +3793,7 @@
"name": {
"target": "com.amazonaws.ecr#AccountSettingName",
"traits": {
"smithy.api#documentation": "<p>Basic scan type version name. </p>",
"smithy.api#documentation": "<p>The name of the account setting, such as <code>BASIC_SCAN_TYPE_VERSION</code> or\n <code>REGISTRY_POLICY_SCOPE</code>. </p>",
"smithy.api#required": {}
}
}
Expand All @@ -3808,13 +3808,13 @@
"name": {
"target": "com.amazonaws.ecr#AccountSettingName",
"traits": {
"smithy.api#documentation": "<p>Retrieves the basic scan type version name.</p>"
"smithy.api#documentation": "<p>Retrieves the name of the account setting.</p>"
}
},
"value": {
"target": "com.amazonaws.ecr#AccountSettingName",
"traits": {
"smithy.api#documentation": "<p>Retrieves the value that specifies what basic scan type is being used:\n <code>AWS_NATIVE</code> or <code>CLAIR</code>.</p>"
"smithy.api#documentation": "<p>The setting value for the setting name. The following are valid values for the basic scan\n type being used: <code>AWS_NATIVE</code> or <code>CLAIR</code>. The following are valid\n values for the registry policy scope being used: <code>V1</code> or\n <code>V2</code>.</p>"
}
}
},
Expand Down Expand Up @@ -5995,7 +5995,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Allows you to change the basic scan type version by setting the <code>name</code>\n parameter to either <code>CLAIR</code> to <code>AWS_NATIVE</code>.</p>"
"smithy.api#documentation": "<p>Allows you to change the basic scan type version or registry policy scope.</p>"
}
},
"com.amazonaws.ecr#PutAccountSettingRequest": {
Expand All @@ -6004,14 +6004,14 @@
"name": {
"target": "com.amazonaws.ecr#AccountSettingName",
"traits": {
"smithy.api#documentation": "<p>Basic scan type version name. </p>",
"smithy.api#documentation": "<p>The name of the account setting, such as <code>BASIC_SCAN_TYPE_VERSION</code> or\n <code>REGISTRY_POLICY_SCOPE</code>. </p>",
"smithy.api#required": {}
}
},
"value": {
"target": "com.amazonaws.ecr#AccountSettingValue",
"traits": {
"smithy.api#documentation": "<p>Setting value that determines what basic scan type is being used:\n <code>AWS_NATIVE</code> or <code>CLAIR</code>.</p>",
"smithy.api#documentation": "<p>Setting value that is specified. The following are valid values for the basic scan\n type being used: <code>AWS_NATIVE</code> or <code>CLAIR</code>. The following are valid\n values for the registry policy scope being used: <code>V1</code> or\n <code>V2</code>.</p>",
"smithy.api#required": {}
}
}
Expand All @@ -6026,13 +6026,13 @@
"name": {
"target": "com.amazonaws.ecr#AccountSettingName",
"traits": {
"smithy.api#documentation": "<p>Retrieves the the basic scan type version name.</p>"
"smithy.api#documentation": "<p>Retrieves the name of the account setting.</p>"
}
},
"value": {
"target": "com.amazonaws.ecr#AccountSettingValue",
"traits": {
"smithy.api#documentation": "<p>Retrieves the basic scan type value, either <code>AWS_NATIVE</code> or\n <code>-</code>.</p>"
"smithy.api#documentation": "<p>Retrieves the value of the specified account setting.</p>"
}
}
},
Expand Down
221 changes: 218 additions & 3 deletions aws-models/eks.json
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,9 @@
{
"target": "com.amazonaws.eks#DescribeCluster"
},
{
"target": "com.amazonaws.eks#DescribeClusterVersions"
},
{
"target": "com.amazonaws.eks#DescribeEksAnywhereSubscription"
},
Expand Down Expand Up @@ -1628,12 +1631,12 @@
"compatibleVersions": {
"target": "com.amazonaws.eks#StringList",
"traits": {
"smithy.api#documentation": "<p>The list of compatible Amazon EKS add-on versions for the next Kubernetes version.</p>"
"smithy.api#documentation": "<p>A list of compatible add-on versions.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>The summary information about the Amazon EKS add-on compatibility for the next Kubernetes \n version for an insight check in the <code>UPGRADE_READINESS</code> category.</p>"
"smithy.api#documentation": "<p>Contains compatibility information for an Amazon EKS add-on.</p>"
}
},
"com.amazonaws.eks#AddonCompatibilityDetails": {
Expand Down Expand Up @@ -2863,6 +2866,98 @@
}
}
},
"com.amazonaws.eks#ClusterVersionInformation": {
"type": "structure",
"members": {
"clusterVersion": {
"target": "com.amazonaws.eks#String",
"traits": {
"smithy.api#documentation": "<p>The Kubernetes version for the cluster.</p>"
}
},
"clusterType": {
"target": "com.amazonaws.eks#String",
"traits": {
"smithy.api#documentation": "<p>The type of cluster this version is for.</p>"
}
},
"defaultPlatformVersion": {
"target": "com.amazonaws.eks#String",
"traits": {
"smithy.api#documentation": "<p>Default platform version for this Kubernetes version.</p>"
}
},
"defaultVersion": {
"target": "com.amazonaws.eks#Boolean",
"traits": {
"smithy.api#default": false,
"smithy.api#documentation": "<p>Indicates if this is a default version.</p>"
}
},
"releaseDate": {
"target": "com.amazonaws.eks#Timestamp",
"traits": {
"smithy.api#documentation": "<p>The release date of this cluster version.</p>"
}
},
"endOfStandardSupportDate": {
"target": "com.amazonaws.eks#Timestamp",
"traits": {
"smithy.api#documentation": "<p>Date when standard support ends for this version.</p>"
}
},
"endOfExtendedSupportDate": {
"target": "com.amazonaws.eks#Timestamp",
"traits": {
"smithy.api#documentation": "<p>Date when extended support ends for this version.</p>"
}
},
"status": {
"target": "com.amazonaws.eks#ClusterVersionStatus",
"traits": {
"smithy.api#documentation": "<p>Current status of this cluster version.</p>"
}
},
"kubernetesPatchVersion": {
"target": "com.amazonaws.eks#String",
"traits": {
"smithy.api#documentation": "<p>The patch version of Kubernetes for this cluster version.</p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>Contains details about a specific EKS cluster version.</p>"
}
},
"com.amazonaws.eks#ClusterVersionList": {
"type": "list",
"member": {
"target": "com.amazonaws.eks#ClusterVersionInformation"
}
},
"com.amazonaws.eks#ClusterVersionStatus": {
"type": "enum",
"members": {
"unsupported": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "unsupported"
}
},
"standard_support": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "standard-support"
}
},
"extended_support": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "extended-support"
}
}
}
},
"com.amazonaws.eks#Compatibilities": {
"type": "list",
"member": {
Expand Down Expand Up @@ -5174,6 +5269,126 @@
"smithy.api#output": {}
}
},
"com.amazonaws.eks#DescribeClusterVersionMaxResults": {
"type": "integer",
"traits": {
"smithy.api#range": {
"min": 1,
"max": 100
}
}
},
"com.amazonaws.eks#DescribeClusterVersions": {
"type": "operation",
"input": {
"target": "com.amazonaws.eks#DescribeClusterVersionsRequest"
},
"output": {
"target": "com.amazonaws.eks#DescribeClusterVersionsResponse"
},
"errors": [
{
"target": "com.amazonaws.eks#InvalidParameterException"
},
{
"target": "com.amazonaws.eks#InvalidRequestException"
},
{
"target": "com.amazonaws.eks#ServerException"
}
],
"traits": {
"smithy.api#documentation": "<p>Lists available Kubernetes versions for Amazon EKS clusters.</p>",
"smithy.api#http": {
"method": "GET",
"uri": "/cluster-versions",
"code": 200
},
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"items": "clusterVersions",
"pageSize": "maxResults"
}
}
},
"com.amazonaws.eks#DescribeClusterVersionsRequest": {
"type": "structure",
"members": {
"clusterType": {
"target": "com.amazonaws.eks#String",
"traits": {
"smithy.api#documentation": "<p>The type of cluster to filter versions by.</p>",
"smithy.api#httpQuery": "clusterType"
}
},
"maxResults": {
"target": "com.amazonaws.eks#DescribeClusterVersionMaxResults",
"traits": {
"smithy.api#documentation": "<p>Maximum number of results to return.</p>",
"smithy.api#httpQuery": "maxResults"
}
},
"nextToken": {
"target": "com.amazonaws.eks#String",
"traits": {
"smithy.api#documentation": "<p>Pagination token for the next set of results.</p>",
"smithy.api#httpQuery": "nextToken"
}
},
"defaultOnly": {
"target": "com.amazonaws.eks#BoxedBoolean",
"traits": {
"smithy.api#documentation": "<p>Filter to show only default versions.</p>",
"smithy.api#httpQuery": "defaultOnly"
}
},
"includeAll": {
"target": "com.amazonaws.eks#BoxedBoolean",
"traits": {
"smithy.api#documentation": "<p>Include all available versions in the response.</p>",
"smithy.api#httpQuery": "includeAll"
}
},
"clusterVersions": {
"target": "com.amazonaws.eks#StringList",
"traits": {
"smithy.api#documentation": "<p>List of specific cluster versions to describe.</p>",
"smithy.api#httpQuery": "clusterVersions"
}
},
"status": {
"target": "com.amazonaws.eks#ClusterVersionStatus",
"traits": {
"smithy.api#documentation": "<p>Filter versions by their current status.</p>",
"smithy.api#httpQuery": "status"
}
}
},
"traits": {
"smithy.api#input": {}
}
},
"com.amazonaws.eks#DescribeClusterVersionsResponse": {
"type": "structure",
"members": {
"nextToken": {
"target": "com.amazonaws.eks#String",
"traits": {
"smithy.api#documentation": "<p>Pagination token for the next set of results.</p>"
}
},
"clusterVersions": {
"target": "com.amazonaws.eks#ClusterVersionList",
"traits": {
"smithy.api#documentation": "<p>List of cluster version information objects.</p>"
}
}
},
"traits": {
"smithy.api#output": {}
}
},
"com.amazonaws.eks#DescribeEksAnywhereSubscription": {
"type": "operation",
"input": {
Expand Down Expand Up @@ -6659,7 +6874,7 @@
"addonCompatibilityDetails": {
"target": "com.amazonaws.eks#AddonCompatibilityDetails",
"traits": {
"smithy.api#documentation": "<p>A list of <code>AddonCompatibilityDetail</code> objects for Amazon EKS add-ons.</p>"
"smithy.api#documentation": "<p>A list of AddonCompatibilityDetail objects for Amazon EKS add-ons.</p>"
}
}
},
Expand Down
Loading

0 comments on commit a62f120

Please sign in to comment.