Skip to content

Commit

Permalink
Update API model
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Go v2 automation user committed Oct 6, 2023
1 parent 12ba4ac commit 32ada3a
Show file tree
Hide file tree
Showing 5 changed files with 285 additions and 42 deletions.
46 changes: 23 additions & 23 deletions codegen/sdk-codegen/aws-models/ec2.json

Large diffs are not rendered by default.

65 changes: 64 additions & 1 deletion codegen/sdk-codegen/aws-models/fsx.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,9 @@
{
"target": "com.amazonaws.fsx#RestoreVolumeFromSnapshot"
},
{
"target": "com.amazonaws.fsx#StartMisconfiguredStateRecovery"
},
{
"target": "com.amazonaws.fsx#TagResource"
},
Expand Down Expand Up @@ -1390,6 +1393,12 @@
"traits": {
"smithy.api#enumValue": "STORAGE_TYPE_OPTIMIZATION"
}
},
"MISCONFIGURED_STATE_RECOVERY": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "MISCONFIGURED_STATE_RECOVERY"
}
}
},
"traits": {
Expand Down Expand Up @@ -3004,7 +3013,7 @@
}
},
"traits": {
"smithy.api#documentation": "<p>The Lustre configuration for the file system being created.</p>\n <note>\n <p>The following parameters are not supported for file systems\n with a data repository association created with\n .</p>\n <ul>\n <li>\n <p>\n <code>AutoImportPolicy</code>\n </p>\n </li>\n <li>\n <p>\n <code>ExportPath</code>\n </p>\n </li>\n <li>\n <p>\n <code>ImportedChunkSize</code>\n </p>\n </li>\n <li>\n <p>\n <code>ImportPath</code>\n </p>\n </li>\n </ul>\n </note>"
"smithy.api#documentation": "<p>The Lustre configuration for the file system being created.</p>\n <note>\n <p>The following parameters are not supported for file systems\n with a data repository association created with\n .</p>\n <ul>\n <li>\n <p>\n <code>AutoImportPolicy</code>\n </p>\n </li>\n <li>\n <p>\n <code>ExportPath</code>\n </p>\n </li>\n <li>\n <p>\n <code>ImportedFileChunkSize</code>\n </p>\n </li>\n <li>\n <p>\n <code>ImportPath</code>\n </p>\n </li>\n </ul>\n </note>"
}
},
"com.amazonaws.fsx#CreateFileSystemOntapConfiguration": {
Expand Down Expand Up @@ -9677,6 +9686,60 @@
"smithy.api#error": "client"
}
},
"com.amazonaws.fsx#StartMisconfiguredStateRecovery": {
"type": "operation",
"input": {
"target": "com.amazonaws.fsx#StartMisconfiguredStateRecoveryRequest"
},
"output": {
"target": "com.amazonaws.fsx#StartMisconfiguredStateRecoveryResponse"
},
"errors": [
{
"target": "com.amazonaws.fsx#BadRequest"
},
{
"target": "com.amazonaws.fsx#FileSystemNotFound"
},
{
"target": "com.amazonaws.fsx#InternalServerError"
}
],
"traits": {
"smithy.api#documentation": "<p>After performing steps to repair the Active Directory configuration of an FSx for Windows File Server file system, use this action to \n initiate the process of Amazon FSx attempting to reconnect to the file system.</p>"
}
},
"com.amazonaws.fsx#StartMisconfiguredStateRecoveryRequest": {
"type": "structure",
"members": {
"ClientRequestToken": {
"target": "com.amazonaws.fsx#ClientRequestToken",
"traits": {
"smithy.api#idempotencyToken": {}
}
},
"FileSystemId": {
"target": "com.amazonaws.fsx#FileSystemId",
"traits": {
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#input": {}
}
},
"com.amazonaws.fsx#StartMisconfiguredStateRecoveryResponse": {
"type": "structure",
"members": {
"FileSystem": {
"target": "com.amazonaws.fsx#FileSystem"
}
},
"traits": {
"smithy.api#output": {}
}
},
"com.amazonaws.fsx#StartTime": {
"type": "timestamp"
},
Expand Down
47 changes: 35 additions & 12 deletions codegen/sdk-codegen/aws-models/marketplace-catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,7 @@
"ChangeType": {
"target": "com.amazonaws.marketplacecatalog#ChangeType",
"traits": {
"smithy.api#documentation": "<p>Change types are single string values that describe your intention for the change.\n Each change type is unique for each <code>EntityType</code> provided in the change's\n scope. For more information on change types available for single-AMI products, see\n <a href=\"https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/ami-products.html#working-with-single-AMI-products\">Working with single-AMI products</a>. Also, for more information on change\n types available for container-based products, see <a href=\"https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/container-products.html#working-with-container-products\">Working with container products</a>.</p>",
"smithy.api#documentation": "<p>Change types are single string values that describe your intention for the change.\n Each change type is unique for each <code>EntityType</code> provided in the change's\n scope. For more information on change types available for single-AMI products, see\n <a href=\"https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/ami-products.html#working-with-single-AMI-products\">Working with single-AMI products</a>. Also, for more information about change\n types available for container-based products, see <a href=\"https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/container-products.html#working-with-container-products\">Working with container products</a>.</p>",
"smithy.api#required": {}
}
},
Expand All @@ -854,8 +854,13 @@
"Details": {
"target": "com.amazonaws.marketplacecatalog#Json",
"traits": {
"smithy.api#documentation": "<p>This object contains details specific to the change type of the requested\n change. For more\n information on change types available for single-AMI products, see <a href=\"https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/ami-products.html#working-with-single-AMI-products\">Working with single-AMI products</a>. Also, for more information on change\n types available for container-based products, see <a href=\"https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/container-products.html#working-with-container-products\">Working with container products</a>.</p>",
"smithy.api#required": {}
"smithy.api#documentation": "<p>This object contains details specific to the change type of the requested change. For\n more information about change types available for single-AMI products, see <a href=\"https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/ami-products.html#working-with-single-AMI-products\">Working with single-AMI products</a>. Also, for more information about change\n types available for container-based products, see <a href=\"https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/container-products.html#working-with-container-products\">Working with container products</a>.</p>"
}
},
"DetailsDocument": {
"target": "com.amazonaws.marketplacecatalog#JsonDocumentType",
"traits": {
"smithy.api#documentation": "<p>Alternative field that accepts a JSON value instead of a string for\n <code>ChangeType</code> details. You can use either <code>Details</code> or\n <code>DetailsDocument</code>, but not both.</p>"
}
},
"ChangeName": {
Expand Down Expand Up @@ -1013,6 +1018,12 @@
"smithy.api#documentation": "<p>This object contains details specific to the change type of the requested\n change.</p>"
}
},
"DetailsDocument": {
"target": "com.amazonaws.marketplacecatalog#JsonDocumentType",
"traits": {
"smithy.api#documentation": "<p>The JSON value of the details specific to the change type of the requested change.</p>"
}
},
"ErrorDetailList": {
"target": "com.amazonaws.marketplacecatalog#ErrorDetailList",
"traits": {
Expand Down Expand Up @@ -1086,7 +1097,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Deletes a resource-based policy on an Entity that is identified by its resource\n ARN.</p>",
"smithy.api#documentation": "<p>Deletes a resource-based policy on an entity that is identified by its resource\n ARN.</p>",
"smithy.api#http": {
"method": "DELETE",
"uri": "/DeleteResourcePolicy",
Expand All @@ -1100,7 +1111,7 @@
"ResourceArn": {
"target": "com.amazonaws.marketplacecatalog#ResourceARN",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Entity resource that is associated with the\n resource policy.</p>",
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the entity resource that is associated with the\n resource policy.</p>",
"smithy.api#httpQuery": "resourceArn",
"smithy.api#required": {}
}
Expand Down Expand Up @@ -1330,6 +1341,12 @@
"traits": {
"smithy.api#documentation": "<p>This stringified JSON object includes the details of the entity.</p>"
}
},
"DetailsDocument": {
"target": "com.amazonaws.marketplacecatalog#JsonDocumentType",
"traits": {
"smithy.api#documentation": "<p>The JSON value of the details specific to the entity.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -1568,7 +1585,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Gets a resource-based policy of an Entity that is identified by its resource\n ARN.</p>",
"smithy.api#documentation": "<p>Gets a resource-based policy of an entity that is identified by its resource\n ARN.</p>",
"smithy.api#http": {
"method": "GET",
"uri": "/GetResourcePolicy",
Expand All @@ -1582,7 +1599,7 @@
"ResourceArn": {
"target": "com.amazonaws.marketplacecatalog#ResourceARN",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Entity resource that is associated with the\n resource policy.</p>",
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the entity resource that is associated with the\n resource policy.</p>",
"smithy.api#httpQuery": "resourceArn",
"smithy.api#required": {}
}
Expand Down Expand Up @@ -1639,6 +1656,9 @@
"smithy.api#pattern": "^[\\s]*\\{[\\s\\S]*\\}[\\s]*$"
}
},
"com.amazonaws.marketplacecatalog#JsonDocumentType": {
"type": "document"
},
"com.amazonaws.marketplacecatalog#ListChangeSets": {
"type": "operation",
"input": {
Expand Down Expand Up @@ -1835,7 +1855,10 @@
}
},
"OwnershipType": {
"target": "com.amazonaws.marketplacecatalog#OwnershipType"
"target": "com.amazonaws.marketplacecatalog#OwnershipType",
"traits": {
"smithy.api#documentation": "<p>Filters the returned set of entities based on their owner. The default is\n <code>SELF</code>. To list entities shared with you\n through AWS Resource Access Manager (AWS RAM), set to <code>SHARED</code>. Entities shared through the AWS Marketplace\n Catalog API <code>PutResourcePolicy</code> operation can't be discovered through the\n <code>SHARED</code> parameter.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -1984,7 +2007,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Attaches a resource-based policy to an Entity. Examples of an entity include:\n <code>AmiProduct</code> and <code>ContainerProduct</code>.</p>",
"smithy.api#documentation": "<p>Attaches a resource-based policy to an entity. Examples of an entity include:\n <code>AmiProduct</code> and <code>ContainerProduct</code>.</p>",
"smithy.api#http": {
"method": "POST",
"uri": "/PutResourcePolicy",
Expand All @@ -1998,7 +2021,7 @@
"ResourceArn": {
"target": "com.amazonaws.marketplacecatalog#ResourceARN",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Entity resource you want to associate with a\n resource policy. </p>",
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the entity resource you want to associate with a\n resource policy.</p>",
"smithy.api#required": {}
}
},
Expand Down Expand Up @@ -2127,7 +2150,7 @@
"SortBy": {
"target": "com.amazonaws.marketplacecatalog#SortBy",
"traits": {
"smithy.api#documentation": "<p>For <code>ListEntities</code>, supported attributes include\n <code>LastModifiedDate</code> (default), <code>Visibility</code>,\n <code>EntityId</code>, and <code>Name</code>.</p>\n <p>For <code>ListChangeSets</code>, supported attributes include <code>StartTime</code>\n and <code>EndTime</code>.</p>"
"smithy.api#documentation": "<p>For <code>ListEntities</code>, supported attributes include\n <code>LastModifiedDate</code> (default) and <code>EntityId</code>. In addition to\n <code>LastModifiedDate</code> and <code>EntityId</code>, each\n <code>EntityType</code> might support additional fields.</p>\n <p>For <code>ListChangeSets</code>, supported attributes include <code>StartTime</code>\n and <code>EndTime</code>.</p>"
}
},
"SortOrder": {
Expand Down Expand Up @@ -2200,7 +2223,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Allows you to request changes for your entities. Within a single\n <code>ChangeSet</code>, you can't start the same change type against the same entity\n multiple times. Additionally, when a <code>ChangeSet</code> is running, all the entities\n targeted by the different changes are locked until the change set has completed (either\n succeeded, cancelled, or failed). If you try to start a change set containing a change\n against an entity that is already locked, you will receive a\n <code>ResourceInUseException</code> error.</p>\n <p>For example, you can't start the <code>ChangeSet</code> described in the <a href=\"https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/API_StartChangeSet.html#API_StartChangeSet_Examples\">example</a> later in this topic because it contains two changes to run the same\n change type (<code>AddRevisions</code>) against the same entity\n (<code>entity-id@1</code>).</p>\n <p>For more information about working with change sets, see <a href=\"https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/welcome.html#working-with-change-sets\"> Working with change sets</a>. For information on change types for single-AMI\n products, see <a href=\"https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/ami-products.html#working-with-single-AMI-products\">Working with single-AMI products</a>. Als, for more information on change types\n available for container-based products, see <a href=\"https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/container-products.html#working-with-container-products\">Working with container products</a>.</p>",
"smithy.api#documentation": "<p>Allows you to request changes for your entities. Within a single\n <code>ChangeSet</code>, you can't start the same change type against the same entity\n multiple times. Additionally, when a <code>ChangeSet</code> is running, all the entities\n targeted by the different changes are locked until the change set has completed (either\n succeeded, cancelled, or failed). If you try to start a change set containing a change\n against an entity that is already locked, you will receive a\n <code>ResourceInUseException</code> error.</p>\n <p>For example, you can't start the <code>ChangeSet</code> described in the <a href=\"https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/API_StartChangeSet.html#API_StartChangeSet_Examples\">example</a> later in this topic because it contains two changes to run the same\n change type (<code>AddRevisions</code>) against the same entity\n (<code>entity-id@1</code>).</p>\n <p>For more information about working with change sets, see <a href=\"https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/welcome.html#working-with-change-sets\"> Working with change sets</a>. For information about change types for\n single-AMI products, see <a href=\"https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/ami-products.html#working-with-single-AMI-products\">Working with single-AMI products</a>. Also, for more information about change\n types available for container-based products, see <a href=\"https://docs.aws.amazon.com/marketplace-catalog/latest/api-reference/container-products.html#working-with-container-products\">Working with container products</a>.</p>",
"smithy.api#http": {
"method": "POST",
"uri": "/StartChangeSet",
Expand Down
Loading

0 comments on commit 32ada3a

Please sign in to comment.