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 Feb 11, 2025
1 parent 9332f07 commit 9acfc8d
Show file tree
Hide file tree
Showing 99 changed files with 1,176 additions and 433 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/webassembly",
"examples/examples",
"examples/lambda",
"examples/cross_service",
"examples/webassembly",
"examples/test-utils",
"tests/webassembly",
"tests/no-default-features"
"examples/cross_service",
"tests/no-default-features",
"tests/webassembly"
]
members = [
"sdk/accessanalyzer",
Expand Down
41 changes: 40 additions & 1 deletion aws-models/acm-pca.json
Original file line number Diff line number Diff line change
Expand Up @@ -1208,7 +1208,7 @@
"traits": {
"smithy.api#length": {
"min": 1,
"max": 20480
"max": 81920
},
"smithy.api#pattern": "^[\\u0009\\u000A\\u000D\\u0020-\\u00FF]+$"
}
Expand Down Expand Up @@ -2004,6 +2004,18 @@
"traits": {
"smithy.api#documentation": "<p>Configures the behavior of the CRL Distribution Point extension for certificates issued by your certificate authority. If this field is not provided, then the CRl Distribution Point Extension will be present and contain the default CRL URL.</p>"
}
},
"CrlType": {
"target": "com.amazonaws.acmpca#CrlType",
"traits": {
"smithy.api#documentation": "<p>Choose whether to use a partitioned or complete CRL. Your choice determines the maximum number of certificates that the certificate authority can issue and revoke, as described in the <a href=\"https://docs.aws.amazon.com/general/latest/gr/pca.html#limits_pca-connector-ad\">Amazon Web Services Private CA quotas</a>.</p>\n <ul>\n <li>\n <p>\n <code>PARTITIONED</code> - The default setting. Partitioned CRLs are an especially good option for devices that have limited processing power or storage capacity, such as certain IoT devices. Compared to complete CRLs, partitioned CRLs dramatically increase the number of certificates your private CA can issue. Each certificate that Amazon Web Services Private CA issues is bound to a specific CRL partition through the CRL distribution point (CDP) defined in <a href=\"https://datatracker.ietf.org/doc/html/rfc5280\">RFC 5280</a>.</p>\n <important>\n <p>To make sure that your client fetches the CRL from a valid endpoint, we recommend that you programmatically validate that the CRL's issuing distribution point (IDP) URI matches the certificate's CDP URI. Amazon Web Services Private CA marks the IDP extension as critical, which your client must be able to process.</p>\n </important>\n </li>\n <li>\n <p>\n <code>COMPLETE</code> - Amazon Web Services Private CA maintains a single CRL file for all unexpired certificates issued by a CA that have been revoked for any reason.</p>\n </li>\n </ul>"
}
},
"CustomPath": {
"target": "com.amazonaws.acmpca#CrlPathString",
"traits": {
"smithy.api#documentation": "<p>Designates a custom file path in S3 for CRL(s). For example, <code>http://&lt;CustomName&gt;/&lt;CustomPath&gt;/&lt;CrlPartition_GUID&gt;.crl</code>. You can change the custom path up to five times.</p>"
}
}
},
"traits": {
Expand All @@ -2026,6 +2038,33 @@
"smithy.api#documentation": "<p>Contains configuration information for the default behavior of the CRL Distribution Point (CDP) extension in certificates issued by your CA. This extension \n\t\t\tcontains a link to download the CRL, so you can check whether a certificate has been revoked. To choose whether you want this extension\n\t\t\tomitted or not in certificates issued by your CA, you can set the <b>OmitExtension</b> parameter.</p>"
}
},
"com.amazonaws.acmpca#CrlPathString": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 0,
"max": 253
},
"smithy.api#pattern": "^[-a-zA-Z0-9;?:@&=+$,%_.!~*()']+(/[-a-zA-Z0-9;?:@&=+$,%_.!~*()']+)*$"
}
},
"com.amazonaws.acmpca#CrlType": {
"type": "enum",
"members": {
"COMPLETE": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "COMPLETE"
}
},
"PARTITIONED": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "PARTITIONED"
}
}
}
},
"com.amazonaws.acmpca#CsrBlob": {
"type": "blob",
"traits": {
Expand Down
22 changes: 14 additions & 8 deletions aws-models/appsync.json
Original file line number Diff line number Diff line change
Expand Up @@ -1277,7 +1277,7 @@
}
},
"traits": {
"smithy.api#documentation": "<p>Describes an AppSync API. You can use <code>Api</code> for an AppSync\n API with your preferred configuration, such as an Event API that provides real-time message\n publishing and message subscriptions over WebSockets.</p>"
"smithy.api#documentation": "<p>Describes an AppSync API. You can use <code>Api</code> for an AppSync API with your preferred configuration, such as an Event API that provides\n real-time message publishing and message subscriptions over WebSockets.</p>"
}
},
"com.amazonaws.appsync#ApiAssociation": {
Expand Down Expand Up @@ -1325,7 +1325,7 @@
"apiCachingBehavior": {
"target": "com.amazonaws.appsync#ApiCachingBehavior",
"traits": {
"smithy.api#documentation": "<p>Caching behavior.</p>\n <ul>\n <li>\n <p>\n <b>FULL_REQUEST_CACHING</b>: All requests are fully\n cached.</p>\n </li>\n <li>\n <p>\n <b>PER_RESOLVER_CACHING</b>: Individual resolvers\n that you specify are cached.</p>\n </li>\n </ul>"
"smithy.api#documentation": "<p>Caching behavior.</p>\n <ul>\n <li>\n <p>\n <b>FULL_REQUEST_CACHING</b>: All requests from the\n same user are cached. Individual resolvers are automatically cached. All API calls\n will try to return responses from the cache.</p>\n </li>\n <li>\n <p>\n <b>PER_RESOLVER_CACHING</b>: Individual resolvers\n that you specify are cached.</p>\n </li>\n <li>\n <p>\n <b>OPERATION_LEVEL_CACHING</b>: Full requests are cached together and returned without executing resolvers.</p>\n </li>\n </ul>"
}
},
"transitEncryptionEnabled": {
Expand Down Expand Up @@ -1509,6 +1509,12 @@
"traits": {
"smithy.api#enumValue": "PER_RESOLVER_CACHING"
}
},
"OPERATION_LEVEL_CACHING": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "OPERATION_LEVEL_CACHING"
}
}
}
},
Expand Down Expand Up @@ -2203,7 +2209,7 @@
}
},
"traits": {
"smithy.api#documentation": "<p>Describes a channel namespace associated with an <code>Api</code>. The <code>ChannelNamespace</code> contains the definitions for code handlers for the <code>Api</code>.</p>"
"smithy.api#documentation": "<p>Describes a channel namespace associated with an <code>Api</code>. The\n <code>ChannelNamespace</code> contains the definitions for code handlers for the\n <code>Api</code>.</p>"
}
},
"com.amazonaws.appsync#ChannelNamespaces": {
Expand Down Expand Up @@ -2394,7 +2400,7 @@
}
},
"traits": {
"smithy.api#documentation": "<p>A conflict with a previous successful update is detected. This typically\n occurs when the previous update did not have time to propagate before the next update was\n made. A retry (with appropriate backoff logic) is the recommended response to this\n exception.</p>",
"smithy.api#documentation": "<p>A conflict with a previous successful update is detected. This typically occurs when the\n previous update did not have time to propagate before the next update was made. A retry\n (with appropriate backoff logic) is the recommended response to this exception.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 409
}
Expand Down Expand Up @@ -2542,7 +2548,7 @@
"apiCachingBehavior": {
"target": "com.amazonaws.appsync#ApiCachingBehavior",
"traits": {
"smithy.api#documentation": "<p>Caching behavior.</p>\n <ul>\n <li>\n <p>\n <b>FULL_REQUEST_CACHING</b>: All requests are fully\n cached.</p>\n </li>\n <li>\n <p>\n <b>PER_RESOLVER_CACHING</b>: Individual resolvers\n that you specify are cached.</p>\n </li>\n </ul>",
"smithy.api#documentation": "<p>Caching behavior.</p>\n <ul>\n <li>\n <p>\n <b>FULL_REQUEST_CACHING</b>: All requests from the\n same user are cached. Individual resolvers are automatically cached. All API calls\n will try to return responses from the cache.</p>\n </li>\n <li>\n <p>\n <b>PER_RESOLVER_CACHING</b>: Individual resolvers\n that you specify are cached.</p>\n </li>\n <li>\n <p>\n <b>OPERATION_LEVEL_CACHING</b>: Full requests are cached together and returned without executing resolvers.</p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
Expand Down Expand Up @@ -3545,7 +3551,7 @@
"type": {
"target": "com.amazonaws.appsync#DataSourceType",
"traits": {
"smithy.api#documentation": "<p>The type of the data source.</p>\n <ul>\n <li>\n <p>\n <b>AWS_LAMBDA</b>: The data source is an Lambda function.</p>\n </li>\n <li>\n <p>\n <b>AMAZON_DYNAMODB</b>: The data source is an Amazon DynamoDB table.</p>\n </li>\n <li>\n <p>\n <b>AMAZON_ELASTICSEARCH</b>: The data source is an\n Amazon OpenSearch Service domain.</p>\n </li>\n <li>\n <p>\n <b>AMAZON_OPENSEARCH_SERVICE</b>: The data source is\n an Amazon OpenSearch Service domain.</p>\n </li>\n <li>\n <p>\n <b>AMAZON_EVENTBRIDGE</b>: The data source is an\n Amazon EventBridge configuration.</p>\n </li>\n <li>\n <p>\n <b>AMAZON_BEDROCK_RUNTIME</b>: The data source is the Amazon Bedrock runtime.</p>\n </li>\n <li>\n <p>\n <b>NONE</b>: There is no data source. Use this type\n when you want to invoke a GraphQL operation without connecting to a data source, such\n as when you're performing data transformation with resolvers or invoking a\n subscription from a mutation.</p>\n </li>\n <li>\n <p>\n <b>HTTP</b>: The data source is an HTTP\n endpoint.</p>\n </li>\n <li>\n <p>\n <b>RELATIONAL_DATABASE</b>: The data source is a\n relational database.</p>\n </li>\n </ul>"
"smithy.api#documentation": "<p>The type of the data source.</p>\n <ul>\n <li>\n <p>\n <b>AWS_LAMBDA</b>: The data source is an Lambda function.</p>\n </li>\n <li>\n <p>\n <b>AMAZON_DYNAMODB</b>: The data source is an Amazon DynamoDB table.</p>\n </li>\n <li>\n <p>\n <b>AMAZON_ELASTICSEARCH</b>: The data source is an\n Amazon OpenSearch Service domain.</p>\n </li>\n <li>\n <p>\n <b>AMAZON_OPENSEARCH_SERVICE</b>: The data source is\n an Amazon OpenSearch Service domain.</p>\n </li>\n <li>\n <p>\n <b>AMAZON_EVENTBRIDGE</b>: The data source is an\n Amazon EventBridge configuration.</p>\n </li>\n <li>\n <p>\n <b>AMAZON_BEDROCK_RUNTIME</b>: The data source is the\n Amazon Bedrock runtime.</p>\n </li>\n <li>\n <p>\n <b>NONE</b>: There is no data source. Use this type\n when you want to invoke a GraphQL operation without connecting to a data source, such\n as when you're performing data transformation with resolvers or invoking a\n subscription from a mutation.</p>\n </li>\n <li>\n <p>\n <b>HTTP</b>: The data source is an HTTP\n endpoint.</p>\n </li>\n <li>\n <p>\n <b>RELATIONAL_DATABASE</b>: The data source is a\n relational database.</p>\n </li>\n </ul>"
}
},
"serviceRoleArn": {
Expand Down Expand Up @@ -7069,7 +7075,7 @@
}
],
"traits": {
"smithy.api#documentation": "<p>Lists the channel namespaces for a specified <code>Api</code>.</p>\n <p>\n <code>ListChannelNamespaces</code> returns only high level details for the channel\n namespace. To retrieve code handlers, use\n <code>GetChannelNamespace</code>.</p>",
"smithy.api#documentation": "<p>Lists the channel namespaces for a specified <code>Api</code>.</p>\n <p>\n <code>ListChannelNamespaces</code> returns only high level details for the channel\n namespace. To retrieve code handlers, use <code>GetChannelNamespace</code>.</p>",
"smithy.api#http": {
"method": "GET",
"uri": "/v2/apis/{apiId}/channelNamespaces",
Expand Down Expand Up @@ -9573,7 +9579,7 @@
"apiCachingBehavior": {
"target": "com.amazonaws.appsync#ApiCachingBehavior",
"traits": {
"smithy.api#documentation": "<p>Caching behavior.</p>\n <ul>\n <li>\n <p>\n <b>FULL_REQUEST_CACHING</b>: All requests are fully\n cached.</p>\n </li>\n <li>\n <p>\n <b>PER_RESOLVER_CACHING</b>: Individual resolvers\n that you specify are cached.</p>\n </li>\n </ul>",
"smithy.api#documentation": "<p>Caching behavior.</p>\n <ul>\n <li>\n <p>\n <b>FULL_REQUEST_CACHING</b>: All requests from the\n same user are cached. Individual resolvers are automatically cached. All API calls\n will try to return responses from the cache.</p>\n </li>\n <li>\n <p>\n <b>PER_RESOLVER_CACHING</b>: Individual resolvers\n that you specify are cached.</p>\n </li>\n <li>\n <p>\n <b>OPERATION_LEVEL_CACHING</b>: Full requests are cached together and returned without executing resolvers.</p>\n </li>\n </ul>",
"smithy.api#required": {}
}
},
Expand Down
Loading

0 comments on commit 9acfc8d

Please sign in to comment.