Skip to content

Commit 6f12d79

Browse files
feat: update AWS API models
1 parent 02413da commit 6f12d79

File tree

7 files changed

+720
-31
lines changed

7 files changed

+720
-31
lines changed

codegen/sdk/aws-models/cloudwatch-logs.json

Lines changed: 31 additions & 10 deletions
Large diffs are not rendered by default.

codegen/sdk/aws-models/connectcampaigns.json

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@
834834
"min": 20,
835835
"max": 500
836836
},
837-
"smithy.api#pattern": "^arn:.*"
837+
"smithy.api#pattern": "^arn:.*$"
838838
}
839839
},
840840
"com.amazonaws.connectcampaigns#AttributeName": {
@@ -855,7 +855,8 @@
855855
"smithy.api#length": {
856856
"min": 0,
857857
"max": 32767
858-
}
858+
},
859+
"smithy.api#pattern": "^.*$"
859860
}
860861
},
861862
"com.amazonaws.connectcampaigns#Attributes": {
@@ -956,7 +957,8 @@
956957
"smithy.api#length": {
957958
"min": 0,
958959
"max": 256
959-
}
960+
},
961+
"smithy.api#pattern": "^[\\S]*$"
960962
}
961963
},
962964
"com.amazonaws.connectcampaigns#CampaignIdList": {
@@ -1058,8 +1060,9 @@
10581060
"smithy.api#documentation": "Client provided parameter used for idempotency. Its value must be unique for each request.",
10591061
"smithy.api#length": {
10601062
"min": 0,
1061-
"max": 64
1062-
}
1063+
"max": 200
1064+
},
1065+
"smithy.api#pattern": "^[a-zA-Z0-9_\\-.]*$"
10631066
}
10641067
},
10651068
"com.amazonaws.connectcampaigns#ConflictException": {
@@ -1397,6 +1400,7 @@
13971400
"min": 0,
13981401
"max": 20
13991402
},
1403+
"smithy.api#pattern": "^[\\d\\-+]*$",
14001404
"smithy.api#sensitive": {}
14011405
}
14021406
},
@@ -1435,7 +1439,12 @@
14351439
"com.amazonaws.connectcampaigns#DialRequestId": {
14361440
"type": "string",
14371441
"traits": {
1438-
"smithy.api#documentation": "Identifier representing a Dial request"
1442+
"smithy.api#documentation": "Identifier representing a Dial request",
1443+
"smithy.api#length": {
1444+
"min": 0,
1445+
"max": 256
1446+
},
1447+
"smithy.api#pattern": "^[a-zA-Z0-9_\\-.]*$"
14391448
}
14401449
},
14411450
"com.amazonaws.connectcampaigns#DialRequestList": {
@@ -1893,7 +1902,8 @@
18931902
"smithy.api#length": {
18941903
"min": 0,
18951904
"max": 256
1896-
}
1905+
},
1906+
"smithy.api#pattern": "^[a-zA-Z0-9_\\-.]*$"
18971907
}
18981908
},
18991909
"com.amazonaws.connectcampaigns#InstanceIdFilter": {

codegen/sdk/aws-models/location.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2216,6 +2216,27 @@
22162216
}
22172217
}
22182218
},
2219+
"com.amazonaws.location#CustomLayer": {
2220+
"type": "string",
2221+
"traits": {
2222+
"smithy.api#length": {
2223+
"min": 1,
2224+
"max": 100
2225+
},
2226+
"smithy.api#pattern": "^[-._\\w]+$"
2227+
}
2228+
},
2229+
"com.amazonaws.location#CustomLayerList": {
2230+
"type": "list",
2231+
"member": {
2232+
"target": "com.amazonaws.location#CustomLayer"
2233+
},
2234+
"traits": {
2235+
"smithy.api#length": {
2236+
"max": 10
2237+
}
2238+
}
2239+
},
22192240
"com.amazonaws.location#DataSourceConfiguration": {
22202241
"type": "structure",
22212242
"members": {
@@ -6560,6 +6581,13 @@
65606581
"traits": {
65616582
"smithy.api#documentation": "<p>Specifies the political view for the style. Leave unset to not use a political \n view, or, for styles that support specific political views, you can choose a view, \n such as <code>IND</code> for the Indian view.</p>\n <p>Default is unset.</p>\n <note>\n <p>Not all map resources or styles support political view styles. See \n <a href=\"https://docs.aws.amazon.com/location/latest/developerguide/map-concepts.html#political-views\">Political \n views</a> \n for more information.</p>\n </note>"
65626583
}
6584+
},
6585+
"CustomLayers": {
6586+
"target": "com.amazonaws.location#CustomLayerList",
6587+
"traits": {
6588+
"aws.cloudformation#cfnExcludeProperty": {},
6589+
"smithy.api#documentation": "<p>Specifies the custom layers for the style. Leave unset to not enable any custom layer, or, for styles that support custom layers, you can enable layer(s), such as POI layer for the VectorEsriNavigation style.\nDefault is <code>unset</code>.</p>\n <note>\n <p>Not all map resources or styles support custom layers. See Custom Layers for more information.</p>\n </note>"
6590+
}
65636591
}
65646592
},
65656593
"traits": {
@@ -6574,6 +6602,13 @@
65746602
"traits": {
65756603
"smithy.api#documentation": "<p>Specifies the political view for the style. Set to an empty string to not use a\n political view, or, for styles that support specific political views, you can choose a \n view, such as <code>IND</code> for the Indian view.</p>\n <note>\n <p>Not all map resources or styles support political view styles. See \n <a href=\"https://docs.aws.amazon.com/location/latest/developerguide/map-concepts.html#political-views\">Political \n views</a> \n for more information.</p>\n </note>"
65766604
}
6605+
},
6606+
"CustomLayers": {
6607+
"target": "com.amazonaws.location#CustomLayerList",
6608+
"traits": {
6609+
"aws.cloudformation#cfnExcludeProperty": {},
6610+
"smithy.api#documentation": "<p>Specifies the custom layers for the style. Leave unset to not enable any custom layer, or, for styles that support custom layers, you can enable layer(s), such as POI layer for the VectorEsriNavigation style.\nDefault is <code>unset</code>.</p>\n <note>\n <p>Not all map resources or styles support custom layers. See Custom Layers for more information.</p>\n </note>"
6611+
}
65776612
}
65786613
},
65796614
"traits": {

codegen/sdk/aws-models/qconnect.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2642,6 +2642,9 @@
26422642
}
26432643
],
26442644
"traits": {
2645+
"smithy.api#deprecated": {
2646+
"message": "GetRecommendations API will be discontinued starting June 1, 2024. To receive generative responses after March 1, 2024 you will need to create a new Assistant in the Connect console and integrate the Amazon Q in Connect JavaScript library (amazon-q-connectjs) into your applications."
2647+
},
26452648
"smithy.api#documentation": "<p>Retrieves recommendations for the specified session. To avoid retrieving the same\n recommendations in subsequent calls, use <a href=\"https://docs.aws.amazon.com/amazon-q-connect/latest/APIReference/API_NotifyRecommendationsReceived.html\">NotifyRecommendationsReceived</a>. This API supports long-polling behavior with the\n <code>waitTimeSeconds</code> parameter. Short poll is the default behavior and only returns\n recommendations already available. To perform a manual query against an assistant, use <a href=\"https://docs.aws.amazon.com/amazon-q-connect/latest/APIReference/API_QueryAssistant.html\">QueryAssistant</a>.</p>",
26462649
"smithy.api#http": {
26472650
"uri": "/assistants/{assistantId}/sessions/{sessionId}/recommendations",
@@ -4235,6 +4238,9 @@
42354238
}
42364239
],
42374240
"traits": {
4241+
"smithy.api#deprecated": {
4242+
"message": "QueryAssistant API will be discontinued starting June 1, 2024. To receive generative responses after March 1, 2024 you will need to create a new Assistant in the Connect console and integrate the Amazon Q in Connect JavaScript library (amazon-q-connectjs) into your applications."
4243+
},
42384244
"smithy.api#documentation": "<p>Performs a manual search against the specified assistant. To retrieve recommendations for\n an assistant, use <a href=\"https://docs.aws.amazon.com/amazon-q-connect/latest/APIReference/API_GetRecommendations.html\">GetRecommendations</a>.\n </p>",
42394245
"smithy.api#http": {
42404246
"uri": "/assistants/{assistantId}/query",

codegen/sdk/aws-models/redshift-serverless.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
"parameterKey": {
7878
"target": "com.amazonaws.redshiftserverless#ParameterKey",
7979
"traits": {
80-
"smithy.api#documentation": "<p>The key of the parameter. The\n options are <code>auto_mv</code>, <code>datestyle</code>, <code>enable_case_sensitive_identifier</code>, <code>enable_user_activity_logging</code>,\n <code>query_group</code>, <code>search_path</code>, and query monitoring metrics that let \n you define performance boundaries. For more information about query monitoring rules and available metrics, see \n <a href=\"https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless\">Query monitoring metrics for Amazon Redshift Serverless</a>.</p>"
80+
"smithy.api#documentation": "<p>The key of the parameter. The\n options are <code>auto_mv</code>, <code>datestyle</code>, <code>enable_case_sensitive_identifier</code>, <code>enable_user_activity_logging</code>,\n <code>query_group</code>, <code>search_path</code>, <code>require_ssl</code>, and query monitoring metrics that let \n you define performance boundaries. For more information about query monitoring rules and available metrics, see \n <a href=\"https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless\">Query monitoring metrics for Amazon Redshift Serverless</a>.</p>"
8181
}
8282
},
8383
"parameterValue": {
@@ -951,7 +951,7 @@
951951
"configParameters": {
952952
"target": "com.amazonaws.redshiftserverless#ConfigParameterList",
953953
"traits": {
954-
"smithy.api#documentation": "<p>An array of parameters to set for advanced control over a database. The\n options are <code>auto_mv</code>, <code>datestyle</code>, <code>enable_case_sensitive_identifier</code>, <code>enable_user_activity_logging</code>,\n <code>query_group</code>, <code>search_path</code>, <code>require_ssl</code>, <code>use_fips_ssl</code>, and query monitoring metrics that let you define performance boundaries. For more information about query monitoring rules and available metrics, see \n <a href=\"https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless\">\n Query monitoring metrics for Amazon Redshift Serverless</a>.</p>"
954+
"smithy.api#documentation": "<p>An array of parameters to set for advanced control over a database. The\n options are <code>auto_mv</code>, <code>datestyle</code>, <code>enable_case_sensitive_identifier</code>, <code>enable_user_activity_logging</code>,\n <code>query_group</code>, <code>search_path</code>, <code>require_ssl</code>, and query monitoring metrics that let you define performance boundaries. For more information about query monitoring rules and available metrics, see \n <a href=\"https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless\">\n Query monitoring metrics for Amazon Redshift Serverless</a>.</p>"
955955
}
956956
},
957957
"securityGroupIds": {
@@ -6468,7 +6468,7 @@
64686468
"configParameters": {
64696469
"target": "com.amazonaws.redshiftserverless#ConfigParameterList",
64706470
"traits": {
6471-
"smithy.api#documentation": "<p>An array of parameters to set for advanced control over a database. The\n options are <code>auto_mv</code>, <code>datestyle</code>, <code>enable_case_sensitive_identifier</code>, <code>enable_user_activity_logging</code>,\n <code>query_group</code>, <code>search_path</code>, <code>require_ssl</code>, <code>use_fips_ssl</code>, and query monitoring metrics that let you \n define performance boundaries. For more information about query monitoring rules and available metrics, see \n <a href=\"https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless\"> \n Query monitoring metrics for Amazon Redshift Serverless</a>.</p>"
6471+
"smithy.api#documentation": "<p>An array of parameters to set for advanced control over a database. The\n options are <code>auto_mv</code>, <code>datestyle</code>, <code>enable_case_sensitive_identifier</code>, <code>enable_user_activity_logging</code>,\n <code>query_group</code>, <code>search_path</code>, <code>require_ssl</code>, and query monitoring metrics that let you \n define performance boundaries. For more information about query monitoring rules and available metrics, see \n <a href=\"https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless\"> \n Query monitoring metrics for Amazon Redshift Serverless</a>.</p>"
64726472
}
64736473
},
64746474
"publiclyAccessible": {
@@ -6787,7 +6787,7 @@
67876787
"configParameters": {
67886788
"target": "com.amazonaws.redshiftserverless#ConfigParameterList",
67896789
"traits": {
6790-
"smithy.api#documentation": "<p>An array of parameters to set for advanced control over a database. The\n options are <code>auto_mv</code>, <code>datestyle</code>, <code>enable_case_sensitive_identifier</code>, <code>enable_user_activity_logging</code>,\n <code>query_group</code>, <code>search_path</code>, <code>require_ssl</code>, <code>use_fips_ssl</code>, and query monitoring metrics that let you define performance boundaries. \n For more information about query monitoring rules and available metrics, see <a href=\"https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless\"> Query monitoring metrics for Amazon Redshift Serverless</a>.</p>"
6790+
"smithy.api#documentation": "<p>An array of parameters to set for advanced control over a database. The\n options are <code>auto_mv</code>, <code>datestyle</code>, <code>enable_case_sensitive_identifier</code>, <code>enable_user_activity_logging</code>,\n <code>query_group</code>, <code>search_path</code>, <code>require_ssl</code>, and query monitoring metrics that let you define performance boundaries. \n For more information about query monitoring rules and available metrics, see <a href=\"https://docs.aws.amazon.com/redshift/latest/dg/cm-c-wlm-query-monitoring-rules.html#cm-c-wlm-query-monitoring-metrics-serverless\"> Query monitoring metrics for Amazon Redshift Serverless</a>.</p>"
67916791
}
67926792
},
67936793
"securityGroupIds": {

0 commit comments

Comments
 (0)