aws-sdk-support 1.45.0 → 1.46.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-support/client.rb +156 -13
- data/lib/aws-sdk-support/client_api.rb +97 -1
- data/lib/aws-sdk-support/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-support/endpoint_provider.rb +25 -103
- data/lib/aws-sdk-support/endpoints.rb +28 -0
- data/lib/aws-sdk-support/errors.rb +16 -0
- data/lib/aws-sdk-support/plugins/endpoints.rb +4 -0
- data/lib/aws-sdk-support/types.rb +253 -21
- data/lib/aws-sdk-support.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17eead4d914b7344bab617a1c04d2fdc124ef50ff8bc8583008ff3a599579349
|
4
|
+
data.tar.gz: b665aa25043a01d73a8c5de8a476a4ea6ce8651276bc7d84d03e74bb00ec35c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0ef4315d6963bcb7d273675e133d7e95d8861a2e0c1d9a3f70f14bc0fa8c3b413a8ef4eb46a0b79d41d72f5a89b4121296e5875ded5896e99502574ef870e73
|
7
|
+
data.tar.gz: f5ce251febba88d0e1de16aa4dcfe38e2367c9da062015507267e97355c3c3bf3a0c4721fa39c33192715dd1986bc8dd71d23940d1c07194f74a000af3814a27
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.46.0 (2023-05-11)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds 2 new Support APIs, DescribeCreateCaseOptions and DescribeSupportedLanguages. You can use these new APIs to get available support languages.
|
8
|
+
|
4
9
|
1.45.0 (2023-01-31)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.46.0
|
@@ -610,9 +610,10 @@ module Aws::Support
|
|
610
610
|
#
|
611
611
|
# @option params [String] :language
|
612
612
|
# The language in which Amazon Web Services Support handles the case.
|
613
|
-
# Amazon Web Services Support currently supports
|
614
|
-
# Japanese ("ja"). You must specify the
|
615
|
-
# `language` parameter if you want support in
|
613
|
+
# Amazon Web Services Support currently supports Chinese (“zh”), English
|
614
|
+
# ("en"), Japanese ("ja") and Korean (“ko”). You must specify the
|
615
|
+
# ISO 639-1 code for the `language` parameter if you want support in
|
616
|
+
# that language.
|
616
617
|
#
|
617
618
|
# @option params [String] :issue_type
|
618
619
|
# The type of issue for the case. You can specify `customer-service` or
|
@@ -766,9 +767,10 @@ module Aws::Support
|
|
766
767
|
#
|
767
768
|
# @option params [String] :language
|
768
769
|
# The language in which Amazon Web Services Support handles the case.
|
769
|
-
# Amazon Web Services Support currently supports
|
770
|
-
# Japanese ("ja"). You must specify the
|
771
|
-
# `language` parameter if you want support in
|
770
|
+
# Amazon Web Services Support currently supports Chinese (“zh”), English
|
771
|
+
# ("en"), Japanese ("ja") and Korean (“ko”). You must specify the
|
772
|
+
# ISO 639-1 code for the `language` parameter if you want support in
|
773
|
+
# that language.
|
772
774
|
#
|
773
775
|
# @option params [Boolean] :include_communications
|
774
776
|
# Specifies whether to include communications in the `DescribeCases`
|
@@ -918,6 +920,83 @@ module Aws::Support
|
|
918
920
|
req.send_request(options)
|
919
921
|
end
|
920
922
|
|
923
|
+
# Returns a list of CreateCaseOption types along with the corresponding
|
924
|
+
# supported hours and language availability. You can specify the
|
925
|
+
# `language` `categoryCode`, `issueType` and `serviceCode` used to
|
926
|
+
# retrieve the CreateCaseOptions.
|
927
|
+
#
|
928
|
+
# <note markdown="1"> * You must have a Business, Enterprise On-Ramp, or Enterprise Support
|
929
|
+
# plan to use the Amazon Web Services Support API.
|
930
|
+
#
|
931
|
+
# * If you call the Amazon Web Services Support API from an account that
|
932
|
+
# doesn't have a Business, Enterprise On-Ramp, or Enterprise Support
|
933
|
+
# plan, the `SubscriptionRequiredException` error message appears. For
|
934
|
+
# information about changing your support plan, see [Amazon Web
|
935
|
+
# Services Support][1].
|
936
|
+
#
|
937
|
+
# </note>
|
938
|
+
#
|
939
|
+
#
|
940
|
+
#
|
941
|
+
# [1]: http://aws.amazon.com/premiumsupport/
|
942
|
+
#
|
943
|
+
# @option params [required, String] :issue_type
|
944
|
+
# The type of issue for the case. You can specify `customer-service` or
|
945
|
+
# `technical`. If you don't specify a value, the default is
|
946
|
+
# `technical`.
|
947
|
+
#
|
948
|
+
# @option params [required, String] :service_code
|
949
|
+
# The code for the Amazon Web Services service. You can use the
|
950
|
+
# DescribeServices operation to get the possible `serviceCode` values.
|
951
|
+
#
|
952
|
+
# @option params [required, String] :language
|
953
|
+
# The language in which Amazon Web Services Support handles the case.
|
954
|
+
# Amazon Web Services Support currently supports Chinese (“zh”), English
|
955
|
+
# ("en"), Japanese ("ja") and Korean (“ko”). You must specify the
|
956
|
+
# ISO 639-1 code for the `language` parameter if you want support in
|
957
|
+
# that language.
|
958
|
+
#
|
959
|
+
# @option params [required, String] :category_code
|
960
|
+
# The category of problem for the support case. You also use the
|
961
|
+
# DescribeServices operation to get the category code for a service.
|
962
|
+
# Each Amazon Web Services service defines its own set of category
|
963
|
+
# codes.
|
964
|
+
#
|
965
|
+
# @return [Types::DescribeCreateCaseOptionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
966
|
+
#
|
967
|
+
# * {Types::DescribeCreateCaseOptionsResponse#language_availability #language_availability} => String
|
968
|
+
# * {Types::DescribeCreateCaseOptionsResponse#communication_types #communication_types} => Array<Types::CommunicationTypeOptions>
|
969
|
+
#
|
970
|
+
# @example Request syntax with placeholder values
|
971
|
+
#
|
972
|
+
# resp = client.describe_create_case_options({
|
973
|
+
# issue_type: "IssueType", # required
|
974
|
+
# service_code: "ServiceCode", # required
|
975
|
+
# language: "Language", # required
|
976
|
+
# category_code: "CategoryCode", # required
|
977
|
+
# })
|
978
|
+
#
|
979
|
+
# @example Response structure
|
980
|
+
#
|
981
|
+
# resp.language_availability #=> String
|
982
|
+
# resp.communication_types #=> Array
|
983
|
+
# resp.communication_types[0].type #=> String
|
984
|
+
# resp.communication_types[0].supported_hours #=> Array
|
985
|
+
# resp.communication_types[0].supported_hours[0].start_time #=> String
|
986
|
+
# resp.communication_types[0].supported_hours[0].end_time #=> String
|
987
|
+
# resp.communication_types[0].dates_without_support #=> Array
|
988
|
+
# resp.communication_types[0].dates_without_support[0].start_date_time #=> String
|
989
|
+
# resp.communication_types[0].dates_without_support[0].end_date_time #=> String
|
990
|
+
#
|
991
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeCreateCaseOptions AWS API Documentation
|
992
|
+
#
|
993
|
+
# @overload describe_create_case_options(params = {})
|
994
|
+
# @param [Hash] params ({})
|
995
|
+
def describe_create_case_options(params = {}, options = {})
|
996
|
+
req = build_request(:describe_create_case_options, params)
|
997
|
+
req.send_request(options)
|
998
|
+
end
|
999
|
+
|
921
1000
|
# Returns the current list of Amazon Web Services services and a list of
|
922
1001
|
# service categories for each service. You then use service names and
|
923
1002
|
# categories in your CreateCase requests. Each Amazon Web Services
|
@@ -953,9 +1032,10 @@ module Aws::Support
|
|
953
1032
|
#
|
954
1033
|
# @option params [String] :language
|
955
1034
|
# The language in which Amazon Web Services Support handles the case.
|
956
|
-
# Amazon Web Services Support currently supports
|
957
|
-
# Japanese ("ja"). You must specify the
|
958
|
-
# `language` parameter if you want support in
|
1035
|
+
# Amazon Web Services Support currently supports Chinese (“zh”), English
|
1036
|
+
# ("en"), Japanese ("ja") and Korean (“ko”). You must specify the
|
1037
|
+
# ISO 639-1 code for the `language` parameter if you want support in
|
1038
|
+
# that language.
|
959
1039
|
#
|
960
1040
|
# @return [Types::DescribeServicesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
961
1041
|
#
|
@@ -1007,9 +1087,10 @@ module Aws::Support
|
|
1007
1087
|
#
|
1008
1088
|
# @option params [String] :language
|
1009
1089
|
# The language in which Amazon Web Services Support handles the case.
|
1010
|
-
# Amazon Web Services Support currently supports
|
1011
|
-
# Japanese ("ja"). You must specify the
|
1012
|
-
# `language` parameter if you want support in
|
1090
|
+
# Amazon Web Services Support currently supports Chinese (“zh”), English
|
1091
|
+
# ("en"), Japanese ("ja") and Korean (“ko”). You must specify the
|
1092
|
+
# ISO 639-1 code for the `language` parameter if you want support in
|
1093
|
+
# that language.
|
1013
1094
|
#
|
1014
1095
|
# @return [Types::DescribeSeverityLevelsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1015
1096
|
#
|
@@ -1036,6 +1117,68 @@ module Aws::Support
|
|
1036
1117
|
req.send_request(options)
|
1037
1118
|
end
|
1038
1119
|
|
1120
|
+
# Returns a list of supported languages for a specified `categoryCode`,
|
1121
|
+
# `issueType` and `serviceCode`. The returned supported languages will
|
1122
|
+
# include a ISO 639-1 code for the `language`, and the language display
|
1123
|
+
# name.
|
1124
|
+
#
|
1125
|
+
# <note markdown="1"> * You must have a Business, Enterprise On-Ramp, or Enterprise Support
|
1126
|
+
# plan to use the Amazon Web Services Support API.
|
1127
|
+
#
|
1128
|
+
# * If you call the Amazon Web Services Support API from an account that
|
1129
|
+
# doesn't have a Business, Enterprise On-Ramp, or Enterprise Support
|
1130
|
+
# plan, the `SubscriptionRequiredException` error message appears. For
|
1131
|
+
# information about changing your support plan, see [Amazon Web
|
1132
|
+
# Services Support][1].
|
1133
|
+
#
|
1134
|
+
# </note>
|
1135
|
+
#
|
1136
|
+
#
|
1137
|
+
#
|
1138
|
+
# [1]: http://aws.amazon.com/premiumsupport/
|
1139
|
+
#
|
1140
|
+
# @option params [required, String] :issue_type
|
1141
|
+
# The type of issue for the case. You can specify `customer-service` or
|
1142
|
+
# `technical`.
|
1143
|
+
#
|
1144
|
+
# @option params [required, String] :service_code
|
1145
|
+
# The code for the Amazon Web Services service. You can use the
|
1146
|
+
# DescribeServices operation to get the possible `serviceCode` values.
|
1147
|
+
#
|
1148
|
+
# @option params [required, String] :category_code
|
1149
|
+
# The category of problem for the support case. You also use the
|
1150
|
+
# DescribeServices operation to get the category code for a service.
|
1151
|
+
# Each Amazon Web Services service defines its own set of category
|
1152
|
+
# codes.
|
1153
|
+
#
|
1154
|
+
# @return [Types::DescribeSupportedLanguagesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1155
|
+
#
|
1156
|
+
# * {Types::DescribeSupportedLanguagesResponse#supported_languages #supported_languages} => Array<Types::SupportedLanguage>
|
1157
|
+
#
|
1158
|
+
# @example Request syntax with placeholder values
|
1159
|
+
#
|
1160
|
+
# resp = client.describe_supported_languages({
|
1161
|
+
# issue_type: "ValidatedIssueTypeString", # required
|
1162
|
+
# service_code: "ValidatedServiceCode", # required
|
1163
|
+
# category_code: "ValidatedCategoryCode", # required
|
1164
|
+
# })
|
1165
|
+
#
|
1166
|
+
# @example Response structure
|
1167
|
+
#
|
1168
|
+
# resp.supported_languages #=> Array
|
1169
|
+
# resp.supported_languages[0].code #=> String
|
1170
|
+
# resp.supported_languages[0].language #=> String
|
1171
|
+
# resp.supported_languages[0].display #=> String
|
1172
|
+
#
|
1173
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeSupportedLanguages AWS API Documentation
|
1174
|
+
#
|
1175
|
+
# @overload describe_supported_languages(params = {})
|
1176
|
+
# @param [Hash] params ({})
|
1177
|
+
def describe_supported_languages(params = {}, options = {})
|
1178
|
+
req = build_request(:describe_supported_languages, params)
|
1179
|
+
req.send_request(options)
|
1180
|
+
end
|
1181
|
+
|
1039
1182
|
# Returns the refresh status of the Trusted Advisor checks that have the
|
1040
1183
|
# specified check IDs. You can get the check IDs by calling the
|
1041
1184
|
# DescribeTrustedAdvisorChecks operation.
|
@@ -1503,7 +1646,7 @@ module Aws::Support
|
|
1503
1646
|
params: params,
|
1504
1647
|
config: config)
|
1505
1648
|
context[:gem_name] = 'aws-sdk-support'
|
1506
|
-
context[:gem_version] = '1.
|
1649
|
+
context[:gem_version] = '1.46.0'
|
1507
1650
|
Seahorse::Client::Request.new(handlers, context)
|
1508
1651
|
end
|
1509
1652
|
|
@@ -29,6 +29,7 @@ module Aws::Support
|
|
29
29
|
AttachmentSetIdNotFound = Shapes::StructureShape.new(name: 'AttachmentSetIdNotFound')
|
30
30
|
AttachmentSetSizeLimitExceeded = Shapes::StructureShape.new(name: 'AttachmentSetSizeLimitExceeded')
|
31
31
|
Attachments = Shapes::ListShape.new(name: 'Attachments')
|
32
|
+
AvailabilityErrorMessage = Shapes::StringShape.new(name: 'AvailabilityErrorMessage')
|
32
33
|
BeforeTime = Shapes::StringShape.new(name: 'BeforeTime')
|
33
34
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
34
35
|
CaseCreationLimitExceeded = Shapes::StructureShape.new(name: 'CaseCreationLimitExceeded')
|
@@ -44,12 +45,17 @@ module Aws::Support
|
|
44
45
|
CategoryName = Shapes::StringShape.new(name: 'CategoryName')
|
45
46
|
CcEmailAddress = Shapes::StringShape.new(name: 'CcEmailAddress')
|
46
47
|
CcEmailAddressList = Shapes::ListShape.new(name: 'CcEmailAddressList')
|
48
|
+
Code = Shapes::StringShape.new(name: 'Code')
|
47
49
|
Communication = Shapes::StructureShape.new(name: 'Communication')
|
48
50
|
CommunicationBody = Shapes::StringShape.new(name: 'CommunicationBody')
|
49
51
|
CommunicationList = Shapes::ListShape.new(name: 'CommunicationList')
|
52
|
+
CommunicationTypeOptions = Shapes::StructureShape.new(name: 'CommunicationTypeOptions')
|
53
|
+
CommunicationTypeOptionsList = Shapes::ListShape.new(name: 'CommunicationTypeOptionsList')
|
50
54
|
CreateCaseRequest = Shapes::StructureShape.new(name: 'CreateCaseRequest')
|
51
55
|
CreateCaseResponse = Shapes::StructureShape.new(name: 'CreateCaseResponse')
|
52
56
|
Data = Shapes::BlobShape.new(name: 'Data')
|
57
|
+
DateInterval = Shapes::StructureShape.new(name: 'DateInterval')
|
58
|
+
DatesWithoutSupportList = Shapes::ListShape.new(name: 'DatesWithoutSupportList')
|
53
59
|
DescribeAttachmentLimitExceeded = Shapes::StructureShape.new(name: 'DescribeAttachmentLimitExceeded')
|
54
60
|
DescribeAttachmentRequest = Shapes::StructureShape.new(name: 'DescribeAttachmentRequest')
|
55
61
|
DescribeAttachmentResponse = Shapes::StructureShape.new(name: 'DescribeAttachmentResponse')
|
@@ -57,10 +63,14 @@ module Aws::Support
|
|
57
63
|
DescribeCasesResponse = Shapes::StructureShape.new(name: 'DescribeCasesResponse')
|
58
64
|
DescribeCommunicationsRequest = Shapes::StructureShape.new(name: 'DescribeCommunicationsRequest')
|
59
65
|
DescribeCommunicationsResponse = Shapes::StructureShape.new(name: 'DescribeCommunicationsResponse')
|
66
|
+
DescribeCreateCaseOptionsRequest = Shapes::StructureShape.new(name: 'DescribeCreateCaseOptionsRequest')
|
67
|
+
DescribeCreateCaseOptionsResponse = Shapes::StructureShape.new(name: 'DescribeCreateCaseOptionsResponse')
|
60
68
|
DescribeServicesRequest = Shapes::StructureShape.new(name: 'DescribeServicesRequest')
|
61
69
|
DescribeServicesResponse = Shapes::StructureShape.new(name: 'DescribeServicesResponse')
|
62
70
|
DescribeSeverityLevelsRequest = Shapes::StructureShape.new(name: 'DescribeSeverityLevelsRequest')
|
63
71
|
DescribeSeverityLevelsResponse = Shapes::StructureShape.new(name: 'DescribeSeverityLevelsResponse')
|
72
|
+
DescribeSupportedLanguagesRequest = Shapes::StructureShape.new(name: 'DescribeSupportedLanguagesRequest')
|
73
|
+
DescribeSupportedLanguagesResponse = Shapes::StructureShape.new(name: 'DescribeSupportedLanguagesResponse')
|
64
74
|
DescribeTrustedAdvisorCheckRefreshStatusesRequest = Shapes::StructureShape.new(name: 'DescribeTrustedAdvisorCheckRefreshStatusesRequest')
|
65
75
|
DescribeTrustedAdvisorCheckRefreshStatusesResponse = Shapes::StructureShape.new(name: 'DescribeTrustedAdvisorCheckRefreshStatusesResponse')
|
66
76
|
DescribeTrustedAdvisorCheckResultRequest = Shapes::StructureShape.new(name: 'DescribeTrustedAdvisorCheckResultRequest')
|
@@ -69,8 +79,10 @@ module Aws::Support
|
|
69
79
|
DescribeTrustedAdvisorCheckSummariesResponse = Shapes::StructureShape.new(name: 'DescribeTrustedAdvisorCheckSummariesResponse')
|
70
80
|
DescribeTrustedAdvisorChecksRequest = Shapes::StructureShape.new(name: 'DescribeTrustedAdvisorChecksRequest')
|
71
81
|
DescribeTrustedAdvisorChecksResponse = Shapes::StructureShape.new(name: 'DescribeTrustedAdvisorChecksResponse')
|
82
|
+
Display = Shapes::StringShape.new(name: 'Display')
|
72
83
|
DisplayId = Shapes::StringShape.new(name: 'DisplayId')
|
73
84
|
Double = Shapes::FloatShape.new(name: 'Double')
|
85
|
+
EndTime = Shapes::StringShape.new(name: 'EndTime')
|
74
86
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
75
87
|
ExpiryTime = Shapes::StringShape.new(name: 'ExpiryTime')
|
76
88
|
FileName = Shapes::StringShape.new(name: 'FileName')
|
@@ -98,11 +110,17 @@ module Aws::Support
|
|
98
110
|
SeverityLevelCode = Shapes::StringShape.new(name: 'SeverityLevelCode')
|
99
111
|
SeverityLevelName = Shapes::StringShape.new(name: 'SeverityLevelName')
|
100
112
|
SeverityLevelsList = Shapes::ListShape.new(name: 'SeverityLevelsList')
|
113
|
+
StartTime = Shapes::StringShape.new(name: 'StartTime')
|
101
114
|
Status = Shapes::StringShape.new(name: 'Status')
|
102
115
|
String = Shapes::StringShape.new(name: 'String')
|
103
116
|
StringList = Shapes::ListShape.new(name: 'StringList')
|
104
117
|
Subject = Shapes::StringShape.new(name: 'Subject')
|
105
118
|
SubmittedBy = Shapes::StringShape.new(name: 'SubmittedBy')
|
119
|
+
SupportedHour = Shapes::StructureShape.new(name: 'SupportedHour')
|
120
|
+
SupportedHoursList = Shapes::ListShape.new(name: 'SupportedHoursList')
|
121
|
+
SupportedLanguage = Shapes::StructureShape.new(name: 'SupportedLanguage')
|
122
|
+
SupportedLanguagesList = Shapes::ListShape.new(name: 'SupportedLanguagesList')
|
123
|
+
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
106
124
|
TimeCreated = Shapes::StringShape.new(name: 'TimeCreated')
|
107
125
|
TrustedAdvisorCategorySpecificSummary = Shapes::StructureShape.new(name: 'TrustedAdvisorCategorySpecificSummary')
|
108
126
|
TrustedAdvisorCheckDescription = Shapes::StructureShape.new(name: 'TrustedAdvisorCheckDescription')
|
@@ -116,6 +134,13 @@ module Aws::Support
|
|
116
134
|
TrustedAdvisorResourceDetail = Shapes::StructureShape.new(name: 'TrustedAdvisorResourceDetail')
|
117
135
|
TrustedAdvisorResourceDetailList = Shapes::ListShape.new(name: 'TrustedAdvisorResourceDetailList')
|
118
136
|
TrustedAdvisorResourcesSummary = Shapes::StructureShape.new(name: 'TrustedAdvisorResourcesSummary')
|
137
|
+
Type = Shapes::StringShape.new(name: 'Type')
|
138
|
+
ValidatedCategoryCode = Shapes::StringShape.new(name: 'ValidatedCategoryCode')
|
139
|
+
ValidatedCommunicationBody = Shapes::StringShape.new(name: 'ValidatedCommunicationBody')
|
140
|
+
ValidatedDateTime = Shapes::StringShape.new(name: 'ValidatedDateTime')
|
141
|
+
ValidatedIssueTypeString = Shapes::StringShape.new(name: 'ValidatedIssueTypeString')
|
142
|
+
ValidatedLanguageAvailability = Shapes::StringShape.new(name: 'ValidatedLanguageAvailability')
|
143
|
+
ValidatedServiceCode = Shapes::StringShape.new(name: 'ValidatedServiceCode')
|
119
144
|
|
120
145
|
AddAttachmentsToSetRequest.add_member(:attachment_set_id, Shapes::ShapeRef.new(shape: AttachmentSetId, location_name: "attachmentSetId"))
|
121
146
|
AddAttachmentsToSetRequest.add_member(:attachments, Shapes::ShapeRef.new(shape: Attachments, required: true, location_name: "attachments"))
|
@@ -194,7 +219,7 @@ module Aws::Support
|
|
194
219
|
CcEmailAddressList.member = Shapes::ShapeRef.new(shape: CcEmailAddress)
|
195
220
|
|
196
221
|
Communication.add_member(:case_id, Shapes::ShapeRef.new(shape: CaseId, location_name: "caseId"))
|
197
|
-
Communication.add_member(:body, Shapes::ShapeRef.new(shape:
|
222
|
+
Communication.add_member(:body, Shapes::ShapeRef.new(shape: ValidatedCommunicationBody, location_name: "body"))
|
198
223
|
Communication.add_member(:submitted_by, Shapes::ShapeRef.new(shape: SubmittedBy, location_name: "submittedBy"))
|
199
224
|
Communication.add_member(:time_created, Shapes::ShapeRef.new(shape: TimeCreated, location_name: "timeCreated"))
|
200
225
|
Communication.add_member(:attachment_set, Shapes::ShapeRef.new(shape: AttachmentSet, location_name: "attachmentSet"))
|
@@ -202,6 +227,13 @@ module Aws::Support
|
|
202
227
|
|
203
228
|
CommunicationList.member = Shapes::ShapeRef.new(shape: Communication)
|
204
229
|
|
230
|
+
CommunicationTypeOptions.add_member(:type, Shapes::ShapeRef.new(shape: Type, location_name: "type"))
|
231
|
+
CommunicationTypeOptions.add_member(:supported_hours, Shapes::ShapeRef.new(shape: SupportedHoursList, location_name: "supportedHours"))
|
232
|
+
CommunicationTypeOptions.add_member(:dates_without_support, Shapes::ShapeRef.new(shape: DatesWithoutSupportList, location_name: "datesWithoutSupport"))
|
233
|
+
CommunicationTypeOptions.struct_class = Types::CommunicationTypeOptions
|
234
|
+
|
235
|
+
CommunicationTypeOptionsList.member = Shapes::ShapeRef.new(shape: CommunicationTypeOptions)
|
236
|
+
|
205
237
|
CreateCaseRequest.add_member(:subject, Shapes::ShapeRef.new(shape: Subject, required: true, location_name: "subject"))
|
206
238
|
CreateCaseRequest.add_member(:service_code, Shapes::ShapeRef.new(shape: ServiceCode, location_name: "serviceCode"))
|
207
239
|
CreateCaseRequest.add_member(:severity_code, Shapes::ShapeRef.new(shape: SeverityCode, location_name: "severityCode"))
|
@@ -216,6 +248,12 @@ module Aws::Support
|
|
216
248
|
CreateCaseResponse.add_member(:case_id, Shapes::ShapeRef.new(shape: CaseId, location_name: "caseId"))
|
217
249
|
CreateCaseResponse.struct_class = Types::CreateCaseResponse
|
218
250
|
|
251
|
+
DateInterval.add_member(:start_date_time, Shapes::ShapeRef.new(shape: ValidatedDateTime, location_name: "startDateTime"))
|
252
|
+
DateInterval.add_member(:end_date_time, Shapes::ShapeRef.new(shape: ValidatedDateTime, location_name: "endDateTime"))
|
253
|
+
DateInterval.struct_class = Types::DateInterval
|
254
|
+
|
255
|
+
DatesWithoutSupportList.member = Shapes::ShapeRef.new(shape: DateInterval)
|
256
|
+
|
219
257
|
DescribeAttachmentLimitExceeded.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
220
258
|
DescribeAttachmentLimitExceeded.struct_class = Types::DescribeAttachmentLimitExceeded
|
221
259
|
|
@@ -251,6 +289,16 @@ module Aws::Support
|
|
251
289
|
DescribeCommunicationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
252
290
|
DescribeCommunicationsResponse.struct_class = Types::DescribeCommunicationsResponse
|
253
291
|
|
292
|
+
DescribeCreateCaseOptionsRequest.add_member(:issue_type, Shapes::ShapeRef.new(shape: IssueType, required: true, location_name: "issueType"))
|
293
|
+
DescribeCreateCaseOptionsRequest.add_member(:service_code, Shapes::ShapeRef.new(shape: ServiceCode, required: true, location_name: "serviceCode"))
|
294
|
+
DescribeCreateCaseOptionsRequest.add_member(:language, Shapes::ShapeRef.new(shape: Language, required: true, location_name: "language"))
|
295
|
+
DescribeCreateCaseOptionsRequest.add_member(:category_code, Shapes::ShapeRef.new(shape: CategoryCode, required: true, location_name: "categoryCode"))
|
296
|
+
DescribeCreateCaseOptionsRequest.struct_class = Types::DescribeCreateCaseOptionsRequest
|
297
|
+
|
298
|
+
DescribeCreateCaseOptionsResponse.add_member(:language_availability, Shapes::ShapeRef.new(shape: ValidatedLanguageAvailability, location_name: "languageAvailability"))
|
299
|
+
DescribeCreateCaseOptionsResponse.add_member(:communication_types, Shapes::ShapeRef.new(shape: CommunicationTypeOptionsList, location_name: "communicationTypes"))
|
300
|
+
DescribeCreateCaseOptionsResponse.struct_class = Types::DescribeCreateCaseOptionsResponse
|
301
|
+
|
254
302
|
DescribeServicesRequest.add_member(:service_code_list, Shapes::ShapeRef.new(shape: ServiceCodeList, location_name: "serviceCodeList"))
|
255
303
|
DescribeServicesRequest.add_member(:language, Shapes::ShapeRef.new(shape: Language, location_name: "language"))
|
256
304
|
DescribeServicesRequest.struct_class = Types::DescribeServicesRequest
|
@@ -264,6 +312,14 @@ module Aws::Support
|
|
264
312
|
DescribeSeverityLevelsResponse.add_member(:severity_levels, Shapes::ShapeRef.new(shape: SeverityLevelsList, location_name: "severityLevels"))
|
265
313
|
DescribeSeverityLevelsResponse.struct_class = Types::DescribeSeverityLevelsResponse
|
266
314
|
|
315
|
+
DescribeSupportedLanguagesRequest.add_member(:issue_type, Shapes::ShapeRef.new(shape: ValidatedIssueTypeString, required: true, location_name: "issueType"))
|
316
|
+
DescribeSupportedLanguagesRequest.add_member(:service_code, Shapes::ShapeRef.new(shape: ValidatedServiceCode, required: true, location_name: "serviceCode"))
|
317
|
+
DescribeSupportedLanguagesRequest.add_member(:category_code, Shapes::ShapeRef.new(shape: ValidatedCategoryCode, required: true, location_name: "categoryCode"))
|
318
|
+
DescribeSupportedLanguagesRequest.struct_class = Types::DescribeSupportedLanguagesRequest
|
319
|
+
|
320
|
+
DescribeSupportedLanguagesResponse.add_member(:supported_languages, Shapes::ShapeRef.new(shape: SupportedLanguagesList, location_name: "supportedLanguages"))
|
321
|
+
DescribeSupportedLanguagesResponse.struct_class = Types::DescribeSupportedLanguagesResponse
|
322
|
+
|
267
323
|
DescribeTrustedAdvisorCheckRefreshStatusesRequest.add_member(:check_ids, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "checkIds"))
|
268
324
|
DescribeTrustedAdvisorCheckRefreshStatusesRequest.struct_class = Types::DescribeTrustedAdvisorCheckRefreshStatusesRequest
|
269
325
|
|
@@ -326,6 +382,22 @@ module Aws::Support
|
|
326
382
|
|
327
383
|
StringList.member = Shapes::ShapeRef.new(shape: String)
|
328
384
|
|
385
|
+
SupportedHour.add_member(:start_time, Shapes::ShapeRef.new(shape: StartTime, location_name: "startTime"))
|
386
|
+
SupportedHour.add_member(:end_time, Shapes::ShapeRef.new(shape: EndTime, location_name: "endTime"))
|
387
|
+
SupportedHour.struct_class = Types::SupportedHour
|
388
|
+
|
389
|
+
SupportedHoursList.member = Shapes::ShapeRef.new(shape: SupportedHour)
|
390
|
+
|
391
|
+
SupportedLanguage.add_member(:code, Shapes::ShapeRef.new(shape: Code, location_name: "code"))
|
392
|
+
SupportedLanguage.add_member(:language, Shapes::ShapeRef.new(shape: Language, location_name: "language"))
|
393
|
+
SupportedLanguage.add_member(:display, Shapes::ShapeRef.new(shape: Display, location_name: "display"))
|
394
|
+
SupportedLanguage.struct_class = Types::SupportedLanguage
|
395
|
+
|
396
|
+
SupportedLanguagesList.member = Shapes::ShapeRef.new(shape: SupportedLanguage)
|
397
|
+
|
398
|
+
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: AvailabilityErrorMessage, location_name: "message"))
|
399
|
+
ThrottlingException.struct_class = Types::ThrottlingException
|
400
|
+
|
329
401
|
TrustedAdvisorCategorySpecificSummary.add_member(:cost_optimizing, Shapes::ShapeRef.new(shape: TrustedAdvisorCostOptimizingSummary, location_name: "costOptimizing"))
|
330
402
|
TrustedAdvisorCategorySpecificSummary.struct_class = Types::TrustedAdvisorCategorySpecificSummary
|
331
403
|
|
@@ -480,6 +552,16 @@ module Aws::Support
|
|
480
552
|
)
|
481
553
|
end)
|
482
554
|
|
555
|
+
api.add_operation(:describe_create_case_options, Seahorse::Model::Operation.new.tap do |o|
|
556
|
+
o.name = "DescribeCreateCaseOptions"
|
557
|
+
o.http_method = "POST"
|
558
|
+
o.http_request_uri = "/"
|
559
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeCreateCaseOptionsRequest)
|
560
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeCreateCaseOptionsResponse)
|
561
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
562
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
563
|
+
end)
|
564
|
+
|
483
565
|
api.add_operation(:describe_services, Seahorse::Model::Operation.new.tap do |o|
|
484
566
|
o.name = "DescribeServices"
|
485
567
|
o.http_method = "POST"
|
@@ -498,6 +580,16 @@ module Aws::Support
|
|
498
580
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
499
581
|
end)
|
500
582
|
|
583
|
+
api.add_operation(:describe_supported_languages, Seahorse::Model::Operation.new.tap do |o|
|
584
|
+
o.name = "DescribeSupportedLanguages"
|
585
|
+
o.http_method = "POST"
|
586
|
+
o.http_request_uri = "/"
|
587
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeSupportedLanguagesRequest)
|
588
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeSupportedLanguagesResponse)
|
589
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
590
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
591
|
+
end)
|
592
|
+
|
501
593
|
api.add_operation(:describe_trusted_advisor_check_refresh_statuses, Seahorse::Model::Operation.new.tap do |o|
|
502
594
|
o.name = "DescribeTrustedAdvisorCheckRefreshStatuses"
|
503
595
|
o.http_method = "POST"
|
@@ -505,6 +597,7 @@ module Aws::Support
|
|
505
597
|
o.input = Shapes::ShapeRef.new(shape: DescribeTrustedAdvisorCheckRefreshStatusesRequest)
|
506
598
|
o.output = Shapes::ShapeRef.new(shape: DescribeTrustedAdvisorCheckRefreshStatusesResponse)
|
507
599
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
600
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
508
601
|
end)
|
509
602
|
|
510
603
|
api.add_operation(:describe_trusted_advisor_check_result, Seahorse::Model::Operation.new.tap do |o|
|
@@ -514,6 +607,7 @@ module Aws::Support
|
|
514
607
|
o.input = Shapes::ShapeRef.new(shape: DescribeTrustedAdvisorCheckResultRequest)
|
515
608
|
o.output = Shapes::ShapeRef.new(shape: DescribeTrustedAdvisorCheckResultResponse)
|
516
609
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
610
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
517
611
|
end)
|
518
612
|
|
519
613
|
api.add_operation(:describe_trusted_advisor_check_summaries, Seahorse::Model::Operation.new.tap do |o|
|
@@ -523,6 +617,7 @@ module Aws::Support
|
|
523
617
|
o.input = Shapes::ShapeRef.new(shape: DescribeTrustedAdvisorCheckSummariesRequest)
|
524
618
|
o.output = Shapes::ShapeRef.new(shape: DescribeTrustedAdvisorCheckSummariesResponse)
|
525
619
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
620
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
526
621
|
end)
|
527
622
|
|
528
623
|
api.add_operation(:describe_trusted_advisor_checks, Seahorse::Model::Operation.new.tap do |o|
|
@@ -532,6 +627,7 @@ module Aws::Support
|
|
532
627
|
o.input = Shapes::ShapeRef.new(shape: DescribeTrustedAdvisorChecksRequest)
|
533
628
|
o.output = Shapes::ShapeRef.new(shape: DescribeTrustedAdvisorChecksResponse)
|
534
629
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
|
630
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
535
631
|
end)
|
536
632
|
|
537
633
|
api.add_operation(:refresh_trusted_advisor_check, Seahorse::Model::Operation.new.tap do |o|
|
@@ -50,9 +50,6 @@ module Aws::Support
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
-
if self[:region].nil?
|
54
|
-
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
-
end
|
56
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
57
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
58
55
|
if self[:use_dual_stack].nil?
|
@@ -14,132 +14,54 @@ module Aws::Support
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.
|
19
|
-
|
20
|
-
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
-
end
|
22
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
-
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
-
end
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
18
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
26
20
|
end
|
27
|
-
if Aws::Endpoints::Matchers.
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips,
|
35
|
-
|
36
|
-
return Aws::Endpoints::Endpoint.new(url: "https://support-fips.#{region}.amazonaws.com", headers: {}, properties: {})
|
37
|
-
end
|
38
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
21
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
end
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.boolean_equals?(use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false)
|
29
|
+
return Aws::Endpoints::Endpoint.new(url: "https://support.us-east-1.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"support", "signingRegion"=>"us-east-1"}]})
|
39
30
|
end
|
40
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack,
|
41
|
-
|
42
|
-
return Aws::Endpoints::Endpoint.new(url: "https://support.#{region}.api.aws", headers: {}, properties: {})
|
43
|
-
end
|
44
|
-
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
31
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-cn") && Aws::Endpoints::Matchers.boolean_equals?(use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false)
|
32
|
+
return Aws::Endpoints::Endpoint.new(url: "https://support.cn-north-1.amazonaws.com.cn", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"support", "signingRegion"=>"cn-north-1"}]})
|
45
33
|
end
|
46
|
-
|
47
|
-
|
48
|
-
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-cn")
|
49
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
50
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
51
|
-
return Aws::Endpoints::Endpoint.new(url: "https://support-fips.#{region}.api.amazonwebservices.com.cn", headers: {}, properties: {})
|
52
|
-
end
|
53
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
34
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov") && Aws::Endpoints::Matchers.boolean_equals?(use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false)
|
35
|
+
return Aws::Endpoints::Endpoint.new(url: "https://support.us-gov-west-1.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"support", "signingRegion"=>"us-gov-west-1"}]})
|
54
36
|
end
|
55
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips,
|
56
|
-
|
57
|
-
return Aws::Endpoints::Endpoint.new(url: "https://support-fips.#{region}.amazonaws.com.cn", headers: {}, properties: {})
|
58
|
-
end
|
59
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
37
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-iso") && Aws::Endpoints::Matchers.boolean_equals?(use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false)
|
38
|
+
return Aws::Endpoints::Endpoint.new(url: "https://support.us-iso-east-1.c2s.ic.gov", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"support", "signingRegion"=>"us-iso-east-1"}]})
|
60
39
|
end
|
61
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack,
|
62
|
-
|
63
|
-
return Aws::Endpoints::Endpoint.new(url: "https://support.#{region}.api.amazonwebservices.com.cn", headers: {}, properties: {})
|
64
|
-
end
|
65
|
-
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
40
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-iso-b") && Aws::Endpoints::Matchers.boolean_equals?(use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false)
|
41
|
+
return Aws::Endpoints::Endpoint.new(url: "https://support.us-isob-east-1.sc2s.sgov.gov", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"support", "signingRegion"=>"us-isob-east-1"}]})
|
66
42
|
end
|
67
|
-
return Aws::Endpoints::Endpoint.new(url: "https://support.cn-north-1.amazonaws.com.cn", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"cn-north-1", "signingName"=>"support"}]})
|
68
|
-
end
|
69
|
-
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
|
70
43
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
71
44
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
72
|
-
return Aws::Endpoints::Endpoint.new(url: "https://support-fips.#{region}
|
45
|
+
return Aws::Endpoints::Endpoint.new(url: "https://support-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
73
46
|
end
|
74
47
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
75
48
|
end
|
76
49
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
77
50
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
78
|
-
return Aws::Endpoints::Endpoint.new(url: "https://support-fips.#{region}
|
51
|
+
return Aws::Endpoints::Endpoint.new(url: "https://support-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
79
52
|
end
|
80
53
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
81
54
|
end
|
82
55
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
83
56
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
84
|
-
return Aws::Endpoints::Endpoint.new(url: "https://support.#{region}
|
57
|
+
return Aws::Endpoints::Endpoint.new(url: "https://support.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
85
58
|
end
|
86
59
|
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
87
60
|
end
|
88
|
-
return Aws::Endpoints::Endpoint.new(url: "https://support
|
89
|
-
end
|
90
|
-
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-iso")
|
91
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
92
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
93
|
-
return Aws::Endpoints::Endpoint.new(url: "https://support-fips.#{region}.c2s.ic.gov", headers: {}, properties: {})
|
94
|
-
end
|
95
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
96
|
-
end
|
97
|
-
return Aws::Endpoints::Endpoint.new(url: "https://support.us-iso-east-1.c2s.ic.gov", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-iso-east-1", "signingName"=>"support"}]})
|
98
|
-
end
|
99
|
-
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-iso-b")
|
100
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
101
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
102
|
-
return Aws::Endpoints::Endpoint.new(url: "https://support-fips.#{region}.sc2s.sgov.gov", headers: {}, properties: {})
|
103
|
-
end
|
104
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
105
|
-
end
|
106
|
-
return Aws::Endpoints::Endpoint.new(url: "https://support.us-isob-east-1.sc2s.sgov.gov", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-isob-east-1", "signingName"=>"support"}]})
|
107
|
-
end
|
108
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
109
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
110
|
-
return Aws::Endpoints::Endpoint.new(url: "https://support-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
111
|
-
end
|
112
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
113
|
-
end
|
114
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
115
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
116
|
-
return Aws::Endpoints::Endpoint.new(url: "https://support-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
117
|
-
end
|
118
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
119
|
-
end
|
120
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
121
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
122
|
-
return Aws::Endpoints::Endpoint.new(url: "https://support.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
123
|
-
end
|
124
|
-
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
125
|
-
end
|
126
|
-
if Aws::Endpoints::Matchers.string_equals?(region, "aws-global")
|
127
|
-
return Aws::Endpoints::Endpoint.new(url: "https://support.us-east-1.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-east-1", "signingName"=>"support"}]})
|
128
|
-
end
|
129
|
-
if Aws::Endpoints::Matchers.string_equals?(region, "aws-cn-global")
|
130
|
-
return Aws::Endpoints::Endpoint.new(url: "https://support.cn-north-1.amazonaws.com.cn", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"cn-north-1", "signingName"=>"support"}]})
|
131
|
-
end
|
132
|
-
if Aws::Endpoints::Matchers.string_equals?(region, "aws-us-gov-global")
|
133
|
-
return Aws::Endpoints::Endpoint.new(url: "https://support.us-gov-west-1.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-gov-west-1", "signingName"=>"support"}]})
|
134
|
-
end
|
135
|
-
if Aws::Endpoints::Matchers.string_equals?(region, "aws-iso-global")
|
136
|
-
return Aws::Endpoints::Endpoint.new(url: "https://support.us-iso-east-1.c2s.ic.gov", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-iso-east-1", "signingName"=>"support"}]})
|
137
|
-
end
|
138
|
-
if Aws::Endpoints::Matchers.string_equals?(region, "aws-iso-b-global")
|
139
|
-
return Aws::Endpoints::Endpoint.new(url: "https://support.us-isob-east-1.sc2s.sgov.gov", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-isob-east-1", "signingName"=>"support"}]})
|
61
|
+
return Aws::Endpoints::Endpoint.new(url: "https://support.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
140
62
|
end
|
141
|
-
return Aws::Endpoints::Endpoint.new(url: "https://support.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
142
63
|
end
|
64
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
143
65
|
raise ArgumentError, 'No endpoint could be resolved'
|
144
66
|
|
145
67
|
end
|
@@ -95,6 +95,20 @@ module Aws::Support
|
|
95
95
|
end
|
96
96
|
end
|
97
97
|
|
98
|
+
class DescribeCreateCaseOptions
|
99
|
+
def self.build(context)
|
100
|
+
unless context.config.regional_endpoint
|
101
|
+
endpoint = context.config.endpoint.to_s
|
102
|
+
end
|
103
|
+
Aws::Support::EndpointParameters.new(
|
104
|
+
region: context.config.region,
|
105
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
106
|
+
use_fips: context.config.use_fips_endpoint,
|
107
|
+
endpoint: endpoint,
|
108
|
+
)
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
98
112
|
class DescribeServices
|
99
113
|
def self.build(context)
|
100
114
|
unless context.config.regional_endpoint
|
@@ -123,6 +137,20 @@ module Aws::Support
|
|
123
137
|
end
|
124
138
|
end
|
125
139
|
|
140
|
+
class DescribeSupportedLanguages
|
141
|
+
def self.build(context)
|
142
|
+
unless context.config.regional_endpoint
|
143
|
+
endpoint = context.config.endpoint.to_s
|
144
|
+
end
|
145
|
+
Aws::Support::EndpointParameters.new(
|
146
|
+
region: context.config.region,
|
147
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
148
|
+
use_fips: context.config.use_fips_endpoint,
|
149
|
+
endpoint: endpoint,
|
150
|
+
)
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
126
154
|
class DescribeTrustedAdvisorCheckRefreshStatuses
|
127
155
|
def self.build(context)
|
128
156
|
unless context.config.regional_endpoint
|
@@ -36,6 +36,7 @@ module Aws::Support
|
|
36
36
|
# * {CaseIdNotFound}
|
37
37
|
# * {DescribeAttachmentLimitExceeded}
|
38
38
|
# * {InternalServerError}
|
39
|
+
# * {ThrottlingException}
|
39
40
|
#
|
40
41
|
# Additionally, error classes are dynamically generated for service errors based on the error code
|
41
42
|
# if they are not defined above.
|
@@ -178,5 +179,20 @@ module Aws::Support
|
|
178
179
|
end
|
179
180
|
end
|
180
181
|
|
182
|
+
class ThrottlingException < ServiceError
|
183
|
+
|
184
|
+
# @param [Seahorse::Client::RequestContext] context
|
185
|
+
# @param [String] message
|
186
|
+
# @param [Aws::Support::Types::ThrottlingException] data
|
187
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
188
|
+
super(context, message, data)
|
189
|
+
end
|
190
|
+
|
191
|
+
# @return [String]
|
192
|
+
def message
|
193
|
+
@message || @data[:message]
|
194
|
+
end
|
195
|
+
end
|
196
|
+
|
181
197
|
end
|
182
198
|
end
|
@@ -68,10 +68,14 @@ module Aws::Support
|
|
68
68
|
Aws::Support::Endpoints::DescribeCases.build(context)
|
69
69
|
when :describe_communications
|
70
70
|
Aws::Support::Endpoints::DescribeCommunications.build(context)
|
71
|
+
when :describe_create_case_options
|
72
|
+
Aws::Support::Endpoints::DescribeCreateCaseOptions.build(context)
|
71
73
|
when :describe_services
|
72
74
|
Aws::Support::Endpoints::DescribeServices.build(context)
|
73
75
|
when :describe_severity_levels
|
74
76
|
Aws::Support::Endpoints::DescribeSeverityLevels.build(context)
|
77
|
+
when :describe_supported_languages
|
78
|
+
Aws::Support::Endpoints::DescribeSupportedLanguages.build(context)
|
75
79
|
when :describe_trusted_advisor_check_refresh_statuses
|
76
80
|
Aws::Support::Endpoints::DescribeTrustedAdvisorCheckRefreshStatuses.build(context)
|
77
81
|
when :describe_trusted_advisor_check_result
|
@@ -255,9 +255,9 @@ module Aws::Support
|
|
255
255
|
#
|
256
256
|
# * **language** - The language in which Amazon Web Services Support
|
257
257
|
# handles the case. Amazon Web Services Support currently supports
|
258
|
-
# English ("en")
|
259
|
-
# 639-1 code for the `language`
|
260
|
-
# language.
|
258
|
+
# Chinese (“zh”), English ("en"), Japanese ("ja") and Korean
|
259
|
+
# (“ko”). You must specify the ISO 639-1 code for the `language`
|
260
|
+
# parameter if you want support in that language.
|
261
261
|
#
|
262
262
|
# * **nextToken** - A resumption point for pagination.
|
263
263
|
#
|
@@ -368,9 +368,10 @@ module Aws::Support
|
|
368
368
|
#
|
369
369
|
# @!attribute [rw] language
|
370
370
|
# The language in which Amazon Web Services Support handles the case.
|
371
|
-
# Amazon Web Services Support currently supports
|
372
|
-
# Japanese ("ja"). You must
|
373
|
-
# `language` parameter if you want
|
371
|
+
# Amazon Web Services Support currently supports Chinese (“zh”),
|
372
|
+
# English ("en"), Japanese ("ja") and Korean (“ko”). You must
|
373
|
+
# specify the ISO 639-1 code for the `language` parameter if you want
|
374
|
+
# support in that language.
|
374
375
|
# @return [String]
|
375
376
|
#
|
376
377
|
# @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/CaseDetails AWS API Documentation
|
@@ -445,9 +446,9 @@ module Aws::Support
|
|
445
446
|
#
|
446
447
|
# @!attribute [rw] submitted_by
|
447
448
|
# The identity of the account that submitted, or responded to, the
|
448
|
-
# support case. Customer entries include the role
|
449
|
-
#
|
450
|
-
# <janedoe@example.com>
|
449
|
+
# support case. Customer entries include the IAM role as well as the
|
450
|
+
# email address (for example, "AdminRole (Role)
|
451
|
+
# <janedoe@example.com>). Entries from the Amazon Web Services
|
451
452
|
# Support team display "Amazon Web Services," and don't show an
|
452
453
|
# email address.
|
453
454
|
# @return [String]
|
@@ -472,6 +473,49 @@ module Aws::Support
|
|
472
473
|
include Aws::Structure
|
473
474
|
end
|
474
475
|
|
476
|
+
# A JSON-formatted object that contains the CommunicationTypeOptions for
|
477
|
+
# creating a case for a certain communication channel. It is contained
|
478
|
+
# in the response from a DescribeCreateCaseOptions request.
|
479
|
+
# **CommunicationTypeOptions** contains the following fields:
|
480
|
+
#
|
481
|
+
# * **datesWithoutSupport** - A JSON-formatted list containing date and
|
482
|
+
# time ranges for periods without support in UTC time. Date and time
|
483
|
+
# format is RFC 3339 : 'yyyy-MM-dd'T'HH:mm:ss.SSSZZ'.
|
484
|
+
#
|
485
|
+
# * **supportedHours** - A JSON-formatted list containing time ranges
|
486
|
+
# when support are available. Time format is RFC 3339 :
|
487
|
+
# 'HH:mm:ss.SSS'.
|
488
|
+
#
|
489
|
+
# * **type** - A string value indicating the communication type that the
|
490
|
+
# aforementioned rules apply to. At the moment the type value can
|
491
|
+
# assume one of 3 values at the moment `chat`, `web` and `call`.
|
492
|
+
#
|
493
|
+
# @!attribute [rw] type
|
494
|
+
# A string value indicating the communication type. At the moment the
|
495
|
+
# type value can assume one of 3 values at the moment chat, web and
|
496
|
+
# call.
|
497
|
+
# @return [String]
|
498
|
+
#
|
499
|
+
# @!attribute [rw] supported_hours
|
500
|
+
# A JSON-formatted list containing time ranges when support is
|
501
|
+
# available.
|
502
|
+
# @return [Array<Types::SupportedHour>]
|
503
|
+
#
|
504
|
+
# @!attribute [rw] dates_without_support
|
505
|
+
# A JSON-formatted list containing date and time ranges for periods
|
506
|
+
# without support
|
507
|
+
# @return [Array<Types::DateInterval>]
|
508
|
+
#
|
509
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/CommunicationTypeOptions AWS API Documentation
|
510
|
+
#
|
511
|
+
class CommunicationTypeOptions < Struct.new(
|
512
|
+
:type,
|
513
|
+
:supported_hours,
|
514
|
+
:dates_without_support)
|
515
|
+
SENSITIVE = []
|
516
|
+
include Aws::Structure
|
517
|
+
end
|
518
|
+
|
475
519
|
# @!attribute [rw] subject
|
476
520
|
# The title of the support case. The title appears in the **Subject**
|
477
521
|
# field on the Amazon Web Services Support Center [Create Case][1]
|
@@ -538,9 +582,10 @@ module Aws::Support
|
|
538
582
|
#
|
539
583
|
# @!attribute [rw] language
|
540
584
|
# The language in which Amazon Web Services Support handles the case.
|
541
|
-
# Amazon Web Services Support currently supports
|
542
|
-
# Japanese ("ja"). You must
|
543
|
-
# `language` parameter if you want
|
585
|
+
# Amazon Web Services Support currently supports Chinese (“zh”),
|
586
|
+
# English ("en"), Japanese ("ja") and Korean (“ko”). You must
|
587
|
+
# specify the ISO 639-1 code for the `language` parameter if you want
|
588
|
+
# support in that language.
|
544
589
|
# @return [String]
|
545
590
|
#
|
546
591
|
# @!attribute [rw] issue_type
|
@@ -587,6 +632,28 @@ module Aws::Support
|
|
587
632
|
include Aws::Structure
|
588
633
|
end
|
589
634
|
|
635
|
+
# Date and time (UTC) format in RFC 3339 :
|
636
|
+
# 'yyyy-MM-dd'T'HH:mm:ss.SSSZZ'.
|
637
|
+
#
|
638
|
+
# @!attribute [rw] start_date_time
|
639
|
+
# A JSON object containing start and date time (UTC). Date and time
|
640
|
+
# format is RFC 3339 : 'yyyy-MM-dd'T'HH:mm:ss.SSSZZ'.
|
641
|
+
# @return [String]
|
642
|
+
#
|
643
|
+
# @!attribute [rw] end_date_time
|
644
|
+
# End Date Time (UTC). RFC 3339 format :
|
645
|
+
# 'yyyy-MM-dd'T'HH:mm:ss.SSSZZ'.
|
646
|
+
# @return [String]
|
647
|
+
#
|
648
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DateInterval AWS API Documentation
|
649
|
+
#
|
650
|
+
class DateInterval < Struct.new(
|
651
|
+
:start_date_time,
|
652
|
+
:end_date_time)
|
653
|
+
SENSITIVE = []
|
654
|
+
include Aws::Structure
|
655
|
+
end
|
656
|
+
|
590
657
|
# The limit for the number of DescribeAttachment requests in a short
|
591
658
|
# period of time has been exceeded.
|
592
659
|
#
|
@@ -674,9 +741,10 @@ module Aws::Support
|
|
674
741
|
#
|
675
742
|
# @!attribute [rw] language
|
676
743
|
# The language in which Amazon Web Services Support handles the case.
|
677
|
-
# Amazon Web Services Support currently supports
|
678
|
-
# Japanese ("ja"). You must
|
679
|
-
# `language` parameter if you want
|
744
|
+
# Amazon Web Services Support currently supports Chinese (“zh”),
|
745
|
+
# English ("en"), Japanese ("ja") and Korean (“ko”). You must
|
746
|
+
# specify the ISO 639-1 code for the `language` parameter if you want
|
747
|
+
# support in that language.
|
680
748
|
# @return [String]
|
681
749
|
#
|
682
750
|
# @!attribute [rw] include_communications
|
@@ -781,6 +849,68 @@ module Aws::Support
|
|
781
849
|
include Aws::Structure
|
782
850
|
end
|
783
851
|
|
852
|
+
# @!attribute [rw] issue_type
|
853
|
+
# The type of issue for the case. You can specify `customer-service`
|
854
|
+
# or `technical`. If you don't specify a value, the default is
|
855
|
+
# `technical`.
|
856
|
+
# @return [String]
|
857
|
+
#
|
858
|
+
# @!attribute [rw] service_code
|
859
|
+
# The code for the Amazon Web Services service. You can use the
|
860
|
+
# DescribeServices operation to get the possible `serviceCode` values.
|
861
|
+
# @return [String]
|
862
|
+
#
|
863
|
+
# @!attribute [rw] language
|
864
|
+
# The language in which Amazon Web Services Support handles the case.
|
865
|
+
# Amazon Web Services Support currently supports Chinese (“zh”),
|
866
|
+
# English ("en"), Japanese ("ja") and Korean (“ko”). You must
|
867
|
+
# specify the ISO 639-1 code for the `language` parameter if you want
|
868
|
+
# support in that language.
|
869
|
+
# @return [String]
|
870
|
+
#
|
871
|
+
# @!attribute [rw] category_code
|
872
|
+
# The category of problem for the support case. You also use the
|
873
|
+
# DescribeServices operation to get the category code for a service.
|
874
|
+
# Each Amazon Web Services service defines its own set of category
|
875
|
+
# codes.
|
876
|
+
# @return [String]
|
877
|
+
#
|
878
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeCreateCaseOptionsRequest AWS API Documentation
|
879
|
+
#
|
880
|
+
class DescribeCreateCaseOptionsRequest < Struct.new(
|
881
|
+
:issue_type,
|
882
|
+
:service_code,
|
883
|
+
:language,
|
884
|
+
:category_code)
|
885
|
+
SENSITIVE = []
|
886
|
+
include Aws::Structure
|
887
|
+
end
|
888
|
+
|
889
|
+
# @!attribute [rw] language_availability
|
890
|
+
# Language availability can be any of the following:
|
891
|
+
#
|
892
|
+
# * available
|
893
|
+
#
|
894
|
+
# * best\_effort
|
895
|
+
#
|
896
|
+
# * unavailable
|
897
|
+
# @return [String]
|
898
|
+
#
|
899
|
+
# @!attribute [rw] communication_types
|
900
|
+
# A JSON-formatted array that contains the available communication
|
901
|
+
# type options, along with the available support timeframes for the
|
902
|
+
# given inputs.
|
903
|
+
# @return [Array<Types::CommunicationTypeOptions>]
|
904
|
+
#
|
905
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeCreateCaseOptionsResponse AWS API Documentation
|
906
|
+
#
|
907
|
+
class DescribeCreateCaseOptionsResponse < Struct.new(
|
908
|
+
:language_availability,
|
909
|
+
:communication_types)
|
910
|
+
SENSITIVE = []
|
911
|
+
include Aws::Structure
|
912
|
+
end
|
913
|
+
|
784
914
|
# @!attribute [rw] service_code_list
|
785
915
|
# A JSON-formatted list of service codes available for Amazon Web
|
786
916
|
# Services services.
|
@@ -788,9 +918,10 @@ module Aws::Support
|
|
788
918
|
#
|
789
919
|
# @!attribute [rw] language
|
790
920
|
# The language in which Amazon Web Services Support handles the case.
|
791
|
-
# Amazon Web Services Support currently supports
|
792
|
-
# Japanese ("ja"). You must
|
793
|
-
# `language` parameter if you want
|
921
|
+
# Amazon Web Services Support currently supports Chinese (“zh”),
|
922
|
+
# English ("en"), Japanese ("ja") and Korean (“ko”). You must
|
923
|
+
# specify the ISO 639-1 code for the `language` parameter if you want
|
924
|
+
# support in that language.
|
794
925
|
# @return [String]
|
795
926
|
#
|
796
927
|
# @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeServicesRequest AWS API Documentation
|
@@ -819,9 +950,10 @@ module Aws::Support
|
|
819
950
|
|
820
951
|
# @!attribute [rw] language
|
821
952
|
# The language in which Amazon Web Services Support handles the case.
|
822
|
-
# Amazon Web Services Support currently supports
|
823
|
-
# Japanese ("ja"). You must
|
824
|
-
# `language` parameter if you want
|
953
|
+
# Amazon Web Services Support currently supports Chinese (“zh”),
|
954
|
+
# English ("en"), Japanese ("ja") and Korean (“ko”). You must
|
955
|
+
# specify the ISO 639-1 code for the `language` parameter if you want
|
956
|
+
# support in that language.
|
825
957
|
# @return [String]
|
826
958
|
#
|
827
959
|
# @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeSeverityLevelsRequest AWS API Documentation
|
@@ -849,6 +981,46 @@ module Aws::Support
|
|
849
981
|
include Aws::Structure
|
850
982
|
end
|
851
983
|
|
984
|
+
# @!attribute [rw] issue_type
|
985
|
+
# The type of issue for the case. You can specify `customer-service`
|
986
|
+
# or `technical`.
|
987
|
+
# @return [String]
|
988
|
+
#
|
989
|
+
# @!attribute [rw] service_code
|
990
|
+
# The code for the Amazon Web Services service. You can use the
|
991
|
+
# DescribeServices operation to get the possible `serviceCode` values.
|
992
|
+
# @return [String]
|
993
|
+
#
|
994
|
+
# @!attribute [rw] category_code
|
995
|
+
# The category of problem for the support case. You also use the
|
996
|
+
# DescribeServices operation to get the category code for a service.
|
997
|
+
# Each Amazon Web Services service defines its own set of category
|
998
|
+
# codes.
|
999
|
+
# @return [String]
|
1000
|
+
#
|
1001
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeSupportedLanguagesRequest AWS API Documentation
|
1002
|
+
#
|
1003
|
+
class DescribeSupportedLanguagesRequest < Struct.new(
|
1004
|
+
:issue_type,
|
1005
|
+
:service_code,
|
1006
|
+
:category_code)
|
1007
|
+
SENSITIVE = []
|
1008
|
+
include Aws::Structure
|
1009
|
+
end
|
1010
|
+
|
1011
|
+
# @!attribute [rw] supported_languages
|
1012
|
+
# A JSON-formatted array that contains the available ISO 639-1
|
1013
|
+
# language codes.
|
1014
|
+
# @return [Array<Types::SupportedLanguage>]
|
1015
|
+
#
|
1016
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeSupportedLanguagesResponse AWS API Documentation
|
1017
|
+
#
|
1018
|
+
class DescribeSupportedLanguagesResponse < Struct.new(
|
1019
|
+
:supported_languages)
|
1020
|
+
SENSITIVE = []
|
1021
|
+
include Aws::Structure
|
1022
|
+
end
|
1023
|
+
|
852
1024
|
# @!attribute [rw] check_ids
|
853
1025
|
# The IDs of the Trusted Advisor checks to get the status.
|
854
1026
|
#
|
@@ -1204,6 +1376,66 @@ module Aws::Support
|
|
1204
1376
|
include Aws::Structure
|
1205
1377
|
end
|
1206
1378
|
|
1379
|
+
# Time range object with `startTime` and `endTime` range in RFC 3339
|
1380
|
+
# format. `'HH:mm:ss.SSS'`.
|
1381
|
+
#
|
1382
|
+
# @!attribute [rw] start_time
|
1383
|
+
# Start Time. RFC 3339 format `'HH:mm:ss.SSS'`.
|
1384
|
+
# @return [String]
|
1385
|
+
#
|
1386
|
+
# @!attribute [rw] end_time
|
1387
|
+
# End Time. RFC 3339 format `'HH:mm:ss.SSS'`.
|
1388
|
+
# @return [String]
|
1389
|
+
#
|
1390
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/SupportedHour AWS API Documentation
|
1391
|
+
#
|
1392
|
+
class SupportedHour < Struct.new(
|
1393
|
+
:start_time,
|
1394
|
+
:end_time)
|
1395
|
+
SENSITIVE = []
|
1396
|
+
include Aws::Structure
|
1397
|
+
end
|
1398
|
+
|
1399
|
+
# A JSON-formatted object that contains the available ISO 639-1 language
|
1400
|
+
# `code`, `language` name and langauge `display` value. The language
|
1401
|
+
# code is what should be used in the CreateCase call.
|
1402
|
+
#
|
1403
|
+
# @!attribute [rw] code
|
1404
|
+
# 2 digit ISO 639-1 code. e.g. `en`
|
1405
|
+
# @return [String]
|
1406
|
+
#
|
1407
|
+
# @!attribute [rw] language
|
1408
|
+
# Full language description e.g. `ENGLISH`
|
1409
|
+
# @return [String]
|
1410
|
+
#
|
1411
|
+
# @!attribute [rw] display
|
1412
|
+
# Language display value e.g. `ENGLISH`
|
1413
|
+
# @return [String]
|
1414
|
+
#
|
1415
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/SupportedLanguage AWS API Documentation
|
1416
|
+
#
|
1417
|
+
class SupportedLanguage < Struct.new(
|
1418
|
+
:code,
|
1419
|
+
:language,
|
1420
|
+
:display)
|
1421
|
+
SENSITIVE = []
|
1422
|
+
include Aws::Structure
|
1423
|
+
end
|
1424
|
+
|
1425
|
+
# You have exceeded the maximum allowed TPS (Transactions Per Second)
|
1426
|
+
# for the operations.
|
1427
|
+
#
|
1428
|
+
# @!attribute [rw] message
|
1429
|
+
# @return [String]
|
1430
|
+
#
|
1431
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/ThrottlingException AWS API Documentation
|
1432
|
+
#
|
1433
|
+
class ThrottlingException < Struct.new(
|
1434
|
+
:message)
|
1435
|
+
SENSITIVE = []
|
1436
|
+
include Aws::Structure
|
1437
|
+
end
|
1438
|
+
|
1207
1439
|
# The container for summary information that relates to the category of
|
1208
1440
|
# the Trusted Advisor check.
|
1209
1441
|
#
|
data/lib/aws-sdk-support.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-support
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.46.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|