Skip to content

Commit

Permalink
chore: sync aws service models (#959)
Browse files Browse the repository at this point in the history
  • Loading branch information
ianbotsf authored Jun 22, 2023
1 parent 383ffa7 commit 6e2acd7
Show file tree
Hide file tree
Showing 18 changed files with 3,533 additions and 219 deletions.
5 changes: 5 additions & 0 deletions .changes/d17c9f18-436a-4c3c-af89-a46eb577b4ee.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"id": "d17c9f18-436a-4c3c-af89-a46eb577b4ee",
"type": "misc",
"description": "Sync AWS service models"
}
81 changes: 80 additions & 1 deletion codegen/sdk/aws-models/appflow.json
Original file line number Diff line number Diff line change
Expand Up @@ -2646,7 +2646,7 @@
"Type": {
"target": "com.amazonaws.appflow#DataTransferApiType",
"traits": {
"smithy.api#documentation": "<p>You can specify one of the following types:</p>\n <dl>\n <dt>AUTOMATIC</dt>\n <dd>\n <p>The default. Optimizes a flow for datasets that fluctuate in size from small to\n large. For each flow run, Amazon AppFlow chooses to use the SYNC or ASYNC API type based on\n the amount of data that the run transfers.</p>\n </dd>\n <dt>SYNC</dt>\n <dd>\n <p>A synchronous API. This type of API optimizes a flow for small to medium-sized datasets.</p>\n </dd>\n <dt>ASYNC</dt>\n <dd>\n <p>An asynchronous API. This type of API optimizes a flow for large datasets.</p>\n </dd>\n </dl>"
"smithy.api#documentation": "<p>You can specify one of the following types:</p>\n <dl>\n <dt>AUTOMATIC</dt>\n <dd>\n <p>The default. Optimizes a flow for datasets that fluctuate in size from small to\n large. For each flow run, Amazon AppFlow chooses to use the SYNC or ASYNC API type\n based on the amount of data that the run transfers.</p>\n </dd>\n <dt>SYNC</dt>\n <dd>\n <p>A synchronous API. This type of API optimizes a flow for small to medium-sized\n datasets.</p>\n </dd>\n <dt>ASYNC</dt>\n <dd>\n <p>An asynchronous API. This type of API optimizes a flow for large datasets.</p>\n </dd>\n </dl>"
}
}
},
Expand Down Expand Up @@ -7050,6 +7050,82 @@
"smithy.api#documentation": "<p>Describes the status of an attempt from Amazon AppFlow to register a resource.</p>\n <p>When you run a flow that you've configured to use a metadata catalog, Amazon AppFlow\n registers a metadata table and data partitions with that catalog. This operation provides the\n status of that registration attempt. The operation also indicates how many related resources\n Amazon AppFlow created or updated.</p>"
}
},
"com.amazonaws.appflow#ResetConnectorMetadataCache": {
"type": "operation",
"input": {
"target": "com.amazonaws.appflow#ResetConnectorMetadataCacheRequest"
},
"output": {
"target": "com.amazonaws.appflow#ResetConnectorMetadataCacheResponse"
},
"errors": [
{
"target": "com.amazonaws.appflow#ConflictException"
},
{
"target": "com.amazonaws.appflow#InternalServerException"
},
{
"target": "com.amazonaws.appflow#ResourceNotFoundException"
},
{
"target": "com.amazonaws.appflow#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>Resets metadata about your connector entities that Amazon AppFlow stored in its\n cache. Use this action when you want Amazon AppFlow to return the latest information\n about the data that you have in a source application.</p>\n <p>Amazon AppFlow returns metadata about your entities when you use the\n ListConnectorEntities or DescribeConnectorEntities actions. Following these actions, Amazon AppFlow caches the metadata to reduce the number of API requests that it must send to\n the source application. Amazon AppFlow automatically resets the cache once every hour,\n but you can use this action when you want to get the latest metadata right away.</p>",
"smithy.api#http": {
"method": "POST",
"uri": "/reset-connector-metadata-cache",
"code": 200
}
}
},
"com.amazonaws.appflow#ResetConnectorMetadataCacheRequest": {
"type": "structure",
"members": {
"connectorProfileName": {
"target": "com.amazonaws.appflow#ConnectorProfileName",
"traits": {
"smithy.api#documentation": "<p>The name of the connector profile that you want to reset cached metadata for.</p>\n <p>You can omit this parameter if you're resetting the cache for any of the following\n connectors: Amazon Connect, Amazon EventBridge, Amazon Lookout for Metrics, Amazon S3, or Upsolver. If you're resetting the cache for any other connector, you must include this\n parameter in your request.</p>"
}
},
"connectorType": {
"target": "com.amazonaws.appflow#ConnectorType",
"traits": {
"smithy.api#documentation": "<p>The type of connector to reset cached metadata for.</p>\n <p>You must include this parameter in your request if you're resetting the cache for any of\n the following connectors: Amazon Connect, Amazon EventBridge, Amazon Lookout for Metrics,\n Amazon S3, or Upsolver. If you're resetting the cache for any other connector, you\n can omit this parameter from your request. </p>"
}
},
"connectorEntityName": {
"target": "com.amazonaws.appflow#EntityName",
"traits": {
"smithy.api#documentation": "<p>Use this parameter if you want to reset cached metadata about the details for an\n individual entity.</p>\n <p>If you don't include this parameter in your request, Amazon AppFlow only resets\n cached metadata about entity names, not entity details.</p>"
}
},
"entitiesPath": {
"target": "com.amazonaws.appflow#EntitiesPath",
"traits": {
"smithy.api#documentation": "<p>Use this parameter only if you’re resetting the cached metadata about a nested entity.\n Only some connectors support nested entities. A nested entity is one that has another entity\n as a parent. To use this parameter, specify the name of the parent entity.</p>\n <p>To look up the parent-child relationship of entities, you can send a ListConnectorEntities\n request that omits the entitiesPath parameter. Amazon AppFlow will return a list of\n top-level entities. For each one, it indicates whether the entity has nested entities. Then,\n in a subsequent ListConnectorEntities request, you can specify a parent entity name for the\n entitiesPath parameter. Amazon AppFlow will return a list of the child entities for that\n parent.</p>"
}
},
"apiVersion": {
"target": "com.amazonaws.appflow#ApiVersion",
"traits": {
"smithy.api#documentation": "<p>The API version that you specified in the connector profile that you’re resetting cached\n metadata for. You must use this parameter only if the connector supports multiple API versions\n or if the connector type is CustomConnector.</p>\n <p>To look up how many versions a connector supports, use the DescribeConnectors action. In\n the response, find the value that Amazon AppFlow returns for the connectorVersion\n parameter.</p>\n <p>To look up the connector type, use the DescribeConnectorProfiles action. In the response,\n find the value that Amazon AppFlow returns for the connectorType parameter.</p>\n <p>To look up the API version that you specified in a connector profile, use the\n DescribeConnectorProfiles action.</p>"
}
}
},
"traits": {
"smithy.api#input": {}
}
},
"com.amazonaws.appflow#ResetConnectorMetadataCacheResponse": {
"type": "structure",
"members": {},
"traits": {
"smithy.api#output": {}
}
},
"com.amazonaws.appflow#ResourceNotFoundException": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -7954,6 +8030,9 @@
{
"target": "com.amazonaws.appflow#RegisterConnector"
},
{
"target": "com.amazonaws.appflow#ResetConnectorMetadataCache"
},
{
"target": "com.amazonaws.appflow#StartFlow"
},
Expand Down
37 changes: 36 additions & 1 deletion codegen/sdk/aws-models/cloudformation.json
Original file line number Diff line number Diff line change
Expand Up @@ -2543,6 +2543,12 @@
"traits": {
"smithy.api#documentation": "<p>Creates a change set for the all nested stacks specified in the template. The default behavior of this action is\n set to <code>False</code>. To include nested sets in a change set, specify <code>True</code>.</p>"
}
},
"OnStackFailure": {
"target": "com.amazonaws.cloudformation#OnStackFailure",
"traits": {
"smithy.api#documentation": "<p>Determines what action will be taken if stack creation fails. If this parameter is specified, the\n <code>DisableRollback</code> parameter to the <a href=\"https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html\">ExecuteChangeSet</a> API operation must not\n be specified. This must be one of these values:</p>\n <ul>\n <li>\n <p>\n <code>DELETE</code> - Deletes the change set if the stack creation fails. This is only valid when the\n <code>ChangeSetType</code> parameter is set to <code>CREATE</code>. If the deletion of the stack fails, the status\n of the stack is <code>DELETE_FAILED</code>.</p>\n </li>\n <li>\n <p>\n <code>DO_NOTHING</code> - if the stack creation fails, do nothing. This is equivalent to specifying\n <code>true</code> for the <code>DisableRollback</code> parameter to the <a href=\"https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html\">ExecuteChangeSet</a> API\n operation.</p>\n </li>\n <li>\n <p>\n <code>ROLLBACK</code> - if the stack creation fails, roll back the stack. This is equivalent to specifying\n <code>false</code> for the <code>DisableRollback</code> parameter to the <a href=\"https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html\">ExecuteChangeSet</a> API\n operation.</p>\n </li>\n </ul>\n <p>For nested stacks, when the <code>OnStackFailure</code> parameter is set to <code>DELETE</code> for the change\n set for the parent stack, any failure in a child stack will cause the parent stack creation to fail and all stacks to\n be deleted.</p>"
}
}
},
"traits": {
Expand Down Expand Up @@ -3787,6 +3793,12 @@
"traits": {
"smithy.api#documentation": "<p>Specifies the change set ID of the root change set in the current nested change set hierarchy.</p>"
}
},
"OnStackFailure": {
"target": "com.amazonaws.cloudformation#OnStackFailure",
"traits": {
"smithy.api#documentation": "<p>Determines what action will be taken if stack creation fails. When this parameter is specified, the\n <code>DisableRollback</code> parameter to the <a href=\"https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html\">ExecuteChangeSet</a> API operation must not\n be specified. This must be one of these values:</p>\n <ul>\n <li>\n <p>\n <code>DELETE</code> - Deletes the change set if the stack creation fails. This is only valid when the\n <code>ChangeSetType</code> parameter is set to <code>CREATE</code>. If the deletion of the stack fails, the status\n of the stack is <code>DELETE_FAILED</code>.</p>\n </li>\n <li>\n <p>\n <code>DO_NOTHING</code> - if the stack creation fails, do nothing. This is equivalent to specifying\n <code>true</code> for the <code>DisableRollback</code> parameter to the <a href=\"https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html\">ExecuteChangeSet</a> API\n operation.</p>\n </li>\n <li>\n <p>\n <code>ROLLBACK</code> - if the stack creation fails, roll back the stack. This is equivalent to specifying\n <code>false</code> for the <code>DisableRollback</code> parameter to the <a href=\"https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_ExecuteChangeSet.html\">ExecuteChangeSet</a> API\n operation.</p>\n </li>\n </ul>"
}
}
},
"traits": {
Expand Down Expand Up @@ -5511,7 +5523,7 @@
"DisableRollback": {
"target": "com.amazonaws.cloudformation#DisableRollback",
"traits": {
"smithy.api#documentation": "<p>Preserves the state of previously provisioned resources when an operation fails.</p>\n <p>Default: <code>True</code>\n </p>"
"smithy.api#documentation": "<p>Preserves the state of previously provisioned resources when an operation\n fails. This parameter can't be specified when\n the <code>OnStackFailure</code> parameter to the <a href=\"https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateChangeSet.html\">CreateChangeSet</a> API operation was\n specified.</p>\n <ul>\n <li>\n <p>\n <code>True</code> - if the stack creation fails, do nothing. This is equivalent to specifying\n <code>DO_NOTHING</code> for the <code>OnStackFailure</code> parameter to the <a href=\"https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateChangeSet.html\">CreateChangeSet</a> API operation.</p>\n </li>\n <li>\n <p>\n <code>False</code> - if the stack creation fails, roll back the stack. This is equivalent to specifying\n <code>ROLLBACK</code> for the <code>OnStackFailure</code> parameter to the <a href=\"https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/API_CreateChangeSet.html\">CreateChangeSet</a> API operation.</p>\n </li>\n </ul>\n <p>Default: <code>True</code>\n </p>"
}
}
},
Expand Down Expand Up @@ -7475,6 +7487,29 @@
}
}
},
"com.amazonaws.cloudformation#OnStackFailure": {
"type": "enum",
"members": {
"DO_NOTHING": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "DO_NOTHING"
}
},
"ROLLBACK": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "ROLLBACK"
}
},
"DELETE": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "DELETE"
}
}
}
},
"com.amazonaws.cloudformation#OperationIdAlreadyExistsException": {
"type": "structure",
"members": {
Expand Down
Loading

0 comments on commit 6e2acd7

Please sign in to comment.