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 Aug 15, 2022
1 parent fdbd882 commit 2ad549f
Show file tree
Hide file tree
Showing 4 changed files with 162 additions and 3 deletions.
10 changes: 9 additions & 1 deletion codegen/sdk-codegen/aws-models/cloudfront.json
Original file line number Diff line number Diff line change
Expand Up @@ -4321,7 +4321,7 @@
"HttpVersion": {
"target": "com.amazonaws.cloudfront#HttpVersion",
"traits": {
"smithy.api#documentation": "<p>(Optional) Specify the maximum HTTP version that you want viewers to use to communicate \n\t\t\twith CloudFront. The default value for new web distributions is http2. Viewers that don't support \n\t\t\tHTTP/2 automatically use an earlier HTTP version.</p> \n\t\t <p>For viewers and CloudFront to use HTTP/2, viewers must support TLS 1.2 or later, and must \n\t\t\tsupport Server Name Identification (SNI).</p> \n\t\t <p>In general, configuring CloudFront to communicate with viewers using HTTP/2 reduces latency. \n\t\t\tYou can improve performance by optimizing for HTTP/2. For more information, do an Internet \n\t\t\tsearch for \"http/2 optimization.\" </p>"
"smithy.api#documentation": "<p>(Optional) Specify the maximum HTTP version(s) that you want viewers to use to communicate\n\t\t\twith CloudFront. The default value for new web distributions is <code>http2</code>. Viewers\n\t\t\tthat don't support HTTP/2 automatically use an earlier HTTP version.</p> \n\t\t <p>For viewers and CloudFront to use HTTP/2, viewers must support TLSv1.2 or later, and must \n\t\t\tsupport Server Name Indication (SNI).</p>\n\t\t <p>For viewers and CloudFront to use HTTP/3, viewers must support TLSv1.3 and Server Name\n\t\t\tIndication (SNI). CloudFront supports HTTP/3 connection migration to allow the\n\t\t\tviewer to switch networks without losing connection. For more information\n\t\t\tabout connection migration, see <a href=\"https://www.rfc-editor.org/rfc/rfc9000.html#name-connection-migration\">Connection Migration</a> at RFC 9000. For more information about\n\t\t\tsupported TLSv1.3 ciphers, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/secure-connections-supported-viewer-protocols-ciphers.html\">Supported protocols and ciphers between viewers and CloudFront</a>.</p>"
}
},
"IsIPV6Enabled": {
Expand Down Expand Up @@ -7056,6 +7056,14 @@
{
"value": "http2",
"name": "http2"
},
{
"value": "http3",
"name": "http3"
},
{
"value": "http2and3",
"name": "http2and3"
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion codegen/sdk-codegen/aws-models/identitystore.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"name": "identitystore"
},
"aws.protocols#awsJson1_1": {},
"smithy.api#documentation": "<p>The identity store service used by Amazon Web Services Single Sign On provides a single place to retrieve all of\n your identities (users and groups). For more information, see the <a href=\"https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html\">Amazon Web Services SSO User\n Guide</a>.</p>",
"smithy.api#documentation": "<p>The Identity Store service used by Amazon Web Services Single Sign On provides a single place to retrieve all of\n your identities (users and groups). For more information, see the <a href=\"https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html\">Amazon Web Services SSO User\n Guide</a>.</p>\n \n <note>\n <p>Although Amazon Web Services Single Sign-On was renamed, the <code>sso</code> and\n <code>identitystore</code> API namespaces will continue to retain their original name for\n backward compatibility purposes. For more information, see <a href=\"https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html#renamed\">Amazon Web Services SSO rename</a>.</p>\n </note>\n \n <p>This reference guide describes the identity store operations that you can call\n programatically and includes detailed information on data types and errors.</p>",
"smithy.api#title": "AWS SSO Identity Store"
},
"version": "2020-06-15",
Expand Down
2 changes: 1 addition & 1 deletion codegen/sdk-codegen/aws-models/sso.json
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@
"name": "awsssoportal"
},
"aws.protocols#restJson1": {},
"smithy.api#documentation": "<p>Amazon Web Services Single Sign On Portal is a web service that makes it easy for you to assign user access to\n Amazon Web Services SSO resources such as the AWS access portal. Users can get Amazon Web Services account applications and roles\n assigned to them and get federated into the application.</p>\n\n <note>\n <p>Although Amazon Web Services Single Sign-On was renamed, the <code>sso</code> and\n <code>identitystore</code> API namespaces will continue to retain their original name for\n backward compatibility purposes. For more information, see <a href=\"https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html#renamed\">Amazon Web Services SSO rename</a>.</p>\n </note>\n\n <p>This API reference guide describes the Amazon Web Services SSO Portal operations that you can call\n programatically and includes detailed information on data types and errors.</p>\n\n <note>\n <p>Amazon Web Services provides SDKs that consist of libraries and sample code for various programming\n languages and platforms, such as Java, Ruby, .Net, iOS, or Android. The SDKs provide a\n convenient way to create programmatic access to Amazon Web Services SSO and other Amazon Web Services services. For more\n information about the Amazon Web Services SDKs, including how to download and install them, see <a href=\"http://aws.amazon.com/tools/\">Tools for Amazon Web Services</a>.</p>\n </note>",
"smithy.api#documentation": "<p>Amazon Web Services Single Sign On Portal is a web service that makes it easy for you to assign user access to\n Amazon Web Services SSO resources such as the AWS access portal. Users can get Amazon Web Services account applications and roles\n assigned to them and get federated into the application.</p>\n\n <note>\n <p>Although Amazon Web Services Single Sign-On was renamed, the <code>sso</code> and\n <code>identitystore</code> API namespaces will continue to retain their original name for\n backward compatibility purposes. For more information, see <a href=\"https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html#renamed\">Amazon Web Services SSO rename</a>.</p>\n </note>\n\n <p>This reference guide describes the Amazon Web Services SSO Portal operations that you can call\n programatically and includes detailed information on data types and errors.</p>\n\n <note>\n <p>Amazon Web Services provides SDKs that consist of libraries and sample code for various programming\n languages and platforms, such as Java, Ruby, .Net, iOS, or Android. The SDKs provide a\n convenient way to create programmatic access to Amazon Web Services SSO and other Amazon Web Services services. For more\n information about the Amazon Web Services SDKs, including how to download and install them, see <a href=\"http://aws.amazon.com/tools/\">Tools for Amazon Web Services</a>.</p>\n </note>",
"smithy.api#title": "AWS Single Sign-On"
},
"version": "2019-06-10",
Expand Down
151 changes: 151 additions & 0 deletions codegen/sdk-codegen/aws-models/wisdom.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@
{
"target": "com.amazonaws.wisdom#NotifyRecommendationsReceived"
},
{
"target": "com.amazonaws.wisdom#PutFeedback"
},
{
"target": "com.amazonaws.wisdom#QueryAssistant"
},
Expand Down Expand Up @@ -1535,6 +1538,21 @@
"smithy.api#documentation": "<p>The text of the document.</p>"
}
},
"com.amazonaws.wisdom#FeedbackData": {
"type": "structure",
"members": {
"relevance": {
"target": "com.amazonaws.wisdom#Relevance",
"traits": {
"smithy.api#documentation": "<p>The relevance of the target this feedback is for.</p>",
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>The feedback to submit to Wisdom.</p>"
}
},
"com.amazonaws.wisdom#Filter": {
"type": "structure",
"members": {
Expand Down Expand Up @@ -2851,6 +2869,109 @@
"smithy.api#httpError": 412
}
},
"com.amazonaws.wisdom#PutFeedback": {
"type": "operation",
"input": {
"target": "com.amazonaws.wisdom#PutFeedbackRequest"
},
"output": {
"target": "com.amazonaws.wisdom#PutFeedbackResponse"
},
"errors": [
{
"target": "com.amazonaws.wisdom#AccessDeniedException"
},
{
"target": "com.amazonaws.wisdom#ResourceNotFoundException"
},
{
"target": "com.amazonaws.wisdom#ValidationException"
}
],
"traits": {
"smithy.api#documentation": "<p>Submits feedback to Wisdom. The feedback is used to improve future recommendations from\n <a href=\"https://docs.aws.amazon.com/wisdom/latest/APIReference/API_GetRecommendations.html\">GetRecommendations</a> or\n results from <a href=\"https://docs.aws.amazon.com/wisdom/latest/APIReference/API_QueryAssistant.html\">QueryAssistant</a>.\n Feedback can be resubmitted up to 6 hours after submission.\n </p>",
"smithy.api#http": {
"uri": "/assistants/{assistantId}/feedback",
"method": "PUT"
},
"smithy.api#idempotent": {},
"smithy.api#private": {}
}
},
"com.amazonaws.wisdom#PutFeedbackRequest": {
"type": "structure",
"members": {
"assistantId": {
"target": "com.amazonaws.wisdom#UuidOrArn",
"traits": {
"smithy.api#documentation": "<p>The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"targetId": {
"target": "smithy.api#String",
"traits": {
"smithy.api#documentation": "<p>The identifier of a recommendation. or The identifier of the result data.</p>",
"smithy.api#required": {}
}
},
"targetType": {
"target": "com.amazonaws.wisdom#TargetType",
"traits": {
"smithy.api#documentation": "<p>The type of the targetId for which The feedback. is targeted.</p>",
"smithy.api#required": {}
}
},
"feedback": {
"target": "com.amazonaws.wisdom#FeedbackData",
"traits": {
"smithy.api#documentation": "<p>The feedback.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.wisdom#PutFeedbackResponse": {
"type": "structure",
"members": {
"assistantId": {
"target": "com.amazonaws.wisdom#Uuid",
"traits": {
"smithy.api#documentation": "<p>The identifier of the Wisdom assistant.</p>",
"smithy.api#required": {}
}
},
"assistantArn": {
"target": "com.amazonaws.wisdom#UuidOrArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Wisdom assistant.</p>",
"smithy.api#required": {}
}
},
"targetId": {
"target": "com.amazonaws.wisdom#Uuid",
"traits": {
"smithy.api#documentation": "<p>The identifier of a recommendation. or The identifier of the result data.</p>",
"smithy.api#required": {}
}
},
"targetType": {
"target": "com.amazonaws.wisdom#TargetType",
"traits": {
"smithy.api#documentation": "<p>The type of the targetId for which The feedback. is targeted.</p>",
"smithy.api#required": {}
}
},
"feedback": {
"target": "com.amazonaws.wisdom#FeedbackData",
"traits": {
"smithy.api#documentation": "<p>The feedback.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.wisdom#QueryAssistant": {
"type": "operation",
"input": {
Expand Down Expand Up @@ -3120,6 +3241,21 @@
]
}
},
"com.amazonaws.wisdom#Relevance": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "HELPFUL",
"name": "HELPFUL"
},
{
"value": "NOT_HELPFUL",
"name": "NOT_HELPFUL"
}
]
}
},
"com.amazonaws.wisdom#RelevanceLevel": {
"type": "string",
"traits": {
Expand Down Expand Up @@ -3763,6 +3899,21 @@
"target": "com.amazonaws.wisdom#TagValue"
}
},
"com.amazonaws.wisdom#TargetType": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "RECOMMENDATION",
"name": "RECOMMENDATION"
},
{
"value": "RESULT",
"name": "RESULT"
}
]
}
},
"com.amazonaws.wisdom#TooManyTagsException": {
"type": "structure",
"members": {
Expand Down

0 comments on commit 2ad549f

Please sign in to comment.