@aws-sdk/client-support 3.328.0 → 3.332.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/README.md +16 -3
  2. package/dist-cjs/Support.js +4 -0
  3. package/dist-cjs/commands/DescribeCreateCaseOptionsCommand.js +45 -0
  4. package/dist-cjs/commands/DescribeSupportedLanguagesCommand.js +45 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/endpoint/ruleset.js +3 -3
  7. package/dist-cjs/models/models_0.js +14 -1
  8. package/dist-cjs/protocols/Aws_json1_1.js +108 -1
  9. package/dist-es/Support.js +4 -0
  10. package/dist-es/commands/DescribeCreateCaseOptionsCommand.js +41 -0
  11. package/dist-es/commands/DescribeSupportedLanguagesCommand.js +41 -0
  12. package/dist-es/commands/index.js +2 -0
  13. package/dist-es/endpoint/ruleset.js +3 -3
  14. package/dist-es/models/models_0.js +12 -0
  15. package/dist-es/protocols/Aws_json1_1.js +104 -1
  16. package/dist-types/Support.d.ts +14 -0
  17. package/dist-types/SupportClient.d.ts +4 -2
  18. package/dist-types/commands/DescribeCreateCaseOptionsCommand.d.ts +114 -0
  19. package/dist-types/commands/DescribeSupportedLanguagesCommand.d.ts +101 -0
  20. package/dist-types/commands/DescribeTrustedAdvisorCheckRefreshStatusesCommand.d.ts +5 -0
  21. package/dist-types/commands/DescribeTrustedAdvisorCheckResultCommand.d.ts +5 -0
  22. package/dist-types/commands/DescribeTrustedAdvisorCheckSummariesCommand.d.ts +5 -0
  23. package/dist-types/commands/DescribeTrustedAdvisorChecksCommand.d.ts +5 -0
  24. package/dist-types/commands/index.d.ts +2 -0
  25. package/dist-types/models/models_0.d.ts +232 -8
  26. package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
  27. package/dist-types/ts3.4/Support.d.ts +34 -0
  28. package/dist-types/ts3.4/SupportClient.d.ts +12 -0
  29. package/dist-types/ts3.4/commands/DescribeCreateCaseOptionsCommand.d.ts +41 -0
  30. package/dist-types/ts3.4/commands/DescribeSupportedLanguagesCommand.d.ts +41 -0
  31. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  32. package/dist-types/ts3.4/models/models_0.d.ts +43 -0
  33. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
  34. package/package.json +29 -29
@@ -249,7 +249,8 @@ export interface CreateCaseRequest {
249
249
  ccEmailAddresses?: string[];
250
250
  /**
251
251
  * <p>The language in which Amazon Web Services Support handles the case. Amazon Web Services Support
252
- * currently supports English ("en") and Japanese ("ja"). You must specify the ISO 639-1 code for the <code>language</code> parameter if you want support in that language.</p>
252
+ * currently supports Chinese (“zh”), English ("en"), Japanese ("ja") and Korean (“ko”). You must specify the ISO 639-1
253
+ * code for the <code>language</code> parameter if you want support in that language.</p>
253
254
  */
254
255
  language?: string;
255
256
  /**
@@ -351,7 +352,8 @@ export interface DescribeCasesRequest {
351
352
  maxResults?: number;
352
353
  /**
353
354
  * <p>The language in which Amazon Web Services Support handles the case. Amazon Web Services Support
354
- * currently supports English ("en") and Japanese ("ja"). You must specify the ISO 639-1 code for the <code>language</code> parameter if you want support in that language.</p>
355
+ * currently supports Chinese (“zh”), English ("en"), Japanese ("ja") and Korean (“ko”). You must specify the ISO 639-1
356
+ * code for the <code>language</code> parameter if you want support in that language.</p>
355
357
  */
356
358
  language?: string;
357
359
  /**
@@ -380,8 +382,8 @@ export interface Communication {
380
382
  body?: string;
381
383
  /**
382
384
  * <p>The identity of the account that submitted, or responded to, the support case.
383
- * Customer entries include the role or IAM user as well as the email address. For example,
384
- * "AdminRole (Role) <janedoe@example.com>. Entries from the Amazon Web Services Support team display
385
+ * Customer entries include the IAM role as well as the email address (for example,
386
+ * "AdminRole (Role) <janedoe@example.com>). Entries from the Amazon Web Services Support team display
385
387
  * "Amazon Web Services," and don't show an email address.
386
388
  * </p>
387
389
  */
@@ -435,7 +437,8 @@ export interface RecentCaseCommunications {
435
437
  * <li>
436
438
  * <p>
437
439
  * <b>language</b> - The language in which Amazon Web Services Support handles the case. Amazon Web Services Support
438
- * currently supports English ("en") and Japanese ("ja"). You must specify the ISO 639-1 code for the <code>language</code> parameter if you want support in that language.</p>
440
+ * currently supports Chinese (“zh”), English ("en"), Japanese ("ja") and Korean (“ko”). You must specify the ISO 639-1
441
+ * code for the <code>language</code> parameter if you want support in that language.</p>
439
442
  * </li>
440
443
  * <li>
441
444
  * <p>
@@ -601,7 +604,8 @@ export interface CaseDetails {
601
604
  ccEmailAddresses?: string[];
602
605
  /**
603
606
  * <p>The language in which Amazon Web Services Support handles the case. Amazon Web Services Support
604
- * currently supports English ("en") and Japanese ("ja"). You must specify the ISO 639-1 code for the <code>language</code> parameter if you want support in that language.</p>
607
+ * currently supports Chinese (“zh”), English ("en"), Japanese ("ja") and Korean (“ko”). You must specify the ISO 639-1
608
+ * code for the <code>language</code> parameter if you want support in that language.</p>
605
609
  */
606
610
  language?: string;
607
611
  }
@@ -666,6 +670,165 @@ export interface DescribeCommunicationsResponse {
666
670
  */
667
671
  nextToken?: string;
668
672
  }
673
+ /**
674
+ * @public
675
+ */
676
+ export interface DescribeCreateCaseOptionsRequest {
677
+ /**
678
+ * <p>The type of issue for the case. You can specify <code>customer-service</code> or
679
+ * <code>technical</code>. If you don't specify a value, the default is
680
+ * <code>technical</code>.</p>
681
+ */
682
+ issueType: string | undefined;
683
+ /**
684
+ * <p>The code for the Amazon Web Services service. You can use the <a>DescribeServices</a>
685
+ * operation to get the possible <code>serviceCode</code> values.</p>
686
+ */
687
+ serviceCode: string | undefined;
688
+ /**
689
+ * <p>The language in which Amazon Web Services Support handles the case. Amazon Web Services Support
690
+ * currently supports Chinese (“zh”), English ("en"), Japanese ("ja") and Korean (“ko”). You must specify the ISO 639-1
691
+ * code for the <code>language</code> parameter if you want support in that language.</p>
692
+ */
693
+ language: string | undefined;
694
+ /**
695
+ * <p>The category of problem for the support case. You also use the <a>DescribeServices</a> operation to get the category code for a service. Each
696
+ * Amazon Web Services service defines its own set of category codes.</p>
697
+ */
698
+ categoryCode: string | undefined;
699
+ }
700
+ /**
701
+ * @public
702
+ * <p>Date and time (UTC) format in RFC 3339 : 'yyyy-MM-dd'T'HH:mm:ss.SSSZZ'.</p>
703
+ */
704
+ export interface DateInterval {
705
+ /**
706
+ * <p>
707
+ * A JSON object containing start and date time (UTC). Date and time format is RFC 3339 : 'yyyy-MM-dd'T'HH:mm:ss.SSSZZ'.
708
+ * </p>
709
+ */
710
+ startDateTime?: string;
711
+ /**
712
+ * <p>
713
+ * End Date Time (UTC). RFC 3339 format : 'yyyy-MM-dd'T'HH:mm:ss.SSSZZ'.
714
+ * </p>
715
+ */
716
+ endDateTime?: string;
717
+ }
718
+ /**
719
+ * @public
720
+ * <p>Time range object with <code>startTime</code> and <code>endTime</code> range in RFC 3339 format. <code>'HH:mm:ss.SSS'</code>.</p>
721
+ */
722
+ export interface SupportedHour {
723
+ /**
724
+ * <p>
725
+ * Start Time. RFC 3339 format <code>'HH:mm:ss.SSS'</code>.
726
+ * </p>
727
+ */
728
+ startTime?: string;
729
+ /**
730
+ * <p>
731
+ * End Time. RFC 3339 format <code>'HH:mm:ss.SSS'</code>.
732
+ * </p>
733
+ */
734
+ endTime?: string;
735
+ }
736
+ /**
737
+ * @public
738
+ * <p>A JSON-formatted object that contains the CommunicationTypeOptions for creating a case for a certain
739
+ * communication channel. It is contained in the response from a <a>DescribeCreateCaseOptions</a> request. <b>CommunicationTypeOptions</b> contains the following fields:</p>
740
+ * <ul>
741
+ * <li>
742
+ * <p>
743
+ * <b>datesWithoutSupport</b> -
744
+ * A JSON-formatted list containing date and time ranges for periods
745
+ * without support in UTC time. Date and time format is RFC 3339 : 'yyyy-MM-dd'T'HH:mm:ss.SSSZZ'.
746
+ * </p>
747
+ * </li>
748
+ * <li>
749
+ * <p>
750
+ * <b>supportedHours</b> -
751
+ * A JSON-formatted list containing time ranges when support are available.
752
+ * Time format is RFC 3339 : 'HH:mm:ss.SSS'.
753
+ * </p>
754
+ * </li>
755
+ * <li>
756
+ * <p>
757
+ * <b>type</b> -
758
+ * A string value indicating the communication type that the aforementioned rules apply to. At the moment
759
+ * the type value can assume one of 3 values at the moment <code>chat</code>, <code>web</code> and
760
+ * <code>call</code>.
761
+ * </p>
762
+ * </li>
763
+ * </ul>
764
+ */
765
+ export interface CommunicationTypeOptions {
766
+ /**
767
+ * <p>
768
+ * A string value indicating the communication type. At the moment the type value can assume one of 3 values at the moment chat, web and call.
769
+ * </p>
770
+ */
771
+ type?: string;
772
+ /**
773
+ * <p>
774
+ * A JSON-formatted list containing time ranges when support is available.
775
+ * </p>
776
+ */
777
+ supportedHours?: SupportedHour[];
778
+ /**
779
+ * <p>
780
+ * A JSON-formatted list containing date and time ranges for periods without support
781
+ * </p>
782
+ */
783
+ datesWithoutSupport?: DateInterval[];
784
+ }
785
+ /**
786
+ * @public
787
+ */
788
+ export interface DescribeCreateCaseOptionsResponse {
789
+ /**
790
+ * <p>Language availability can be any of the following:</p>
791
+ * <ul>
792
+ * <li>
793
+ * <p>
794
+ * available
795
+ * </p>
796
+ * </li>
797
+ * <li>
798
+ * <p>
799
+ * best_effort
800
+ * </p>
801
+ * </li>
802
+ * <li>
803
+ * <p>
804
+ * unavailable
805
+ * </p>
806
+ * </li>
807
+ * </ul>
808
+ */
809
+ languageAvailability?: string;
810
+ /**
811
+ * <p>
812
+ * A JSON-formatted array that contains the available communication type options, along with the available support
813
+ * timeframes for the given inputs.
814
+ * </p>
815
+ */
816
+ communicationTypes?: CommunicationTypeOptions[];
817
+ }
818
+ /**
819
+ * @public
820
+ * <p>
821
+ * You have exceeded the maximum allowed TPS (Transactions Per Second) for the operations.
822
+ * </p>
823
+ */
824
+ export declare class ThrottlingException extends __BaseException {
825
+ readonly name: "ThrottlingException";
826
+ readonly $fault: "client";
827
+ /**
828
+ * @internal
829
+ */
830
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
831
+ }
669
832
  /**
670
833
  * @public
671
834
  */
@@ -676,7 +839,8 @@ export interface DescribeServicesRequest {
676
839
  serviceCodeList?: string[];
677
840
  /**
678
841
  * <p>The language in which Amazon Web Services Support handles the case. Amazon Web Services Support
679
- * currently supports English ("en") and Japanese ("ja"). You must specify the ISO 639-1 code for the <code>language</code> parameter if you want support in that language.</p>
842
+ * currently supports Chinese (“zh”), English ("en"), Japanese ("ja") and Korean (“ko”). You must specify the ISO 639-1
843
+ * code for the <code>language</code> parameter if you want support in that language.</p>
680
844
  */
681
845
  language?: string;
682
846
  }
@@ -736,7 +900,8 @@ export interface DescribeServicesResponse {
736
900
  export interface DescribeSeverityLevelsRequest {
737
901
  /**
738
902
  * <p>The language in which Amazon Web Services Support handles the case. Amazon Web Services Support
739
- * currently supports English ("en") and Japanese ("ja"). You must specify the ISO 639-1 code for the <code>language</code> parameter if you want support in that language.</p>
903
+ * currently supports Chinese (“zh”), English ("en"), Japanese ("ja") and Korean (“ko”). You must specify the ISO 639-1
904
+ * code for the <code>language</code> parameter if you want support in that language.</p>
740
905
  */
741
906
  language?: string;
742
907
  }
@@ -802,6 +967,65 @@ export interface DescribeSeverityLevelsResponse {
802
967
  */
803
968
  severityLevels?: SeverityLevel[];
804
969
  }
970
+ /**
971
+ * @public
972
+ */
973
+ export interface DescribeSupportedLanguagesRequest {
974
+ /**
975
+ * <p>The type of issue for the case. You can specify <code>customer-service</code> or
976
+ * <code>technical</code>.</p>
977
+ */
978
+ issueType: string | undefined;
979
+ /**
980
+ * <p>The code for the Amazon Web Services service. You can use the <a>DescribeServices</a>
981
+ * operation to get the possible <code>serviceCode</code> values.</p>
982
+ */
983
+ serviceCode: string | undefined;
984
+ /**
985
+ * <p>The category of problem for the support case. You also use the <a>DescribeServices</a> operation to get the category code for a service. Each
986
+ * Amazon Web Services service defines its own set of category codes.</p>
987
+ */
988
+ categoryCode: string | undefined;
989
+ }
990
+ /**
991
+ * @public
992
+ * <p>
993
+ * A JSON-formatted object that contains the available ISO 639-1 language <code>code</code>,
994
+ * <code>language</code> name and langauge <code>display</code> value. The language code is what should be used
995
+ * in the <a>CreateCase</a> call.
996
+ * </p>
997
+ */
998
+ export interface SupportedLanguage {
999
+ /**
1000
+ * <p>
1001
+ * 2 digit ISO 639-1 code. e.g. <code>en</code>
1002
+ * </p>
1003
+ */
1004
+ code?: string;
1005
+ /**
1006
+ * <p>
1007
+ * Full language description e.g. <code>ENGLISH</code>
1008
+ * </p>
1009
+ */
1010
+ language?: string;
1011
+ /**
1012
+ * <p>
1013
+ * Language display value e.g. <code>ENGLISH</code>
1014
+ * </p>
1015
+ */
1016
+ display?: string;
1017
+ }
1018
+ /**
1019
+ * @public
1020
+ */
1021
+ export interface DescribeSupportedLanguagesResponse {
1022
+ /**
1023
+ * <p>
1024
+ * A JSON-formatted array that contains the available ISO 639-1 language codes.
1025
+ * </p>
1026
+ */
1027
+ supportedLanguages?: SupportedLanguage[];
1028
+ }
805
1029
  /**
806
1030
  * @public
807
1031
  */
@@ -6,8 +6,10 @@ import { CreateCaseCommandInput, CreateCaseCommandOutput } from "../commands/Cre
6
6
  import { DescribeAttachmentCommandInput, DescribeAttachmentCommandOutput } from "../commands/DescribeAttachmentCommand";
7
7
  import { DescribeCasesCommandInput, DescribeCasesCommandOutput } from "../commands/DescribeCasesCommand";
8
8
  import { DescribeCommunicationsCommandInput, DescribeCommunicationsCommandOutput } from "../commands/DescribeCommunicationsCommand";
9
+ import { DescribeCreateCaseOptionsCommandInput, DescribeCreateCaseOptionsCommandOutput } from "../commands/DescribeCreateCaseOptionsCommand";
9
10
  import { DescribeServicesCommandInput, DescribeServicesCommandOutput } from "../commands/DescribeServicesCommand";
10
11
  import { DescribeSeverityLevelsCommandInput, DescribeSeverityLevelsCommandOutput } from "../commands/DescribeSeverityLevelsCommand";
12
+ import { DescribeSupportedLanguagesCommandInput, DescribeSupportedLanguagesCommandOutput } from "../commands/DescribeSupportedLanguagesCommand";
11
13
  import { DescribeTrustedAdvisorCheckRefreshStatusesCommandInput, DescribeTrustedAdvisorCheckRefreshStatusesCommandOutput } from "../commands/DescribeTrustedAdvisorCheckRefreshStatusesCommand";
12
14
  import { DescribeTrustedAdvisorCheckResultCommandInput, DescribeTrustedAdvisorCheckResultCommandOutput } from "../commands/DescribeTrustedAdvisorCheckResultCommand";
13
15
  import { DescribeTrustedAdvisorChecksCommandInput, DescribeTrustedAdvisorChecksCommandOutput } from "../commands/DescribeTrustedAdvisorChecksCommand";
@@ -38,6 +40,10 @@ export declare const se_DescribeCasesCommand: (input: DescribeCasesCommandInput,
38
40
  * serializeAws_json1_1DescribeCommunicationsCommand
39
41
  */
40
42
  export declare const se_DescribeCommunicationsCommand: (input: DescribeCommunicationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
43
+ /**
44
+ * serializeAws_json1_1DescribeCreateCaseOptionsCommand
45
+ */
46
+ export declare const se_DescribeCreateCaseOptionsCommand: (input: DescribeCreateCaseOptionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
41
47
  /**
42
48
  * serializeAws_json1_1DescribeServicesCommand
43
49
  */
@@ -46,6 +52,10 @@ export declare const se_DescribeServicesCommand: (input: DescribeServicesCommand
46
52
  * serializeAws_json1_1DescribeSeverityLevelsCommand
47
53
  */
48
54
  export declare const se_DescribeSeverityLevelsCommand: (input: DescribeSeverityLevelsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
55
+ /**
56
+ * serializeAws_json1_1DescribeSupportedLanguagesCommand
57
+ */
58
+ export declare const se_DescribeSupportedLanguagesCommand: (input: DescribeSupportedLanguagesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
49
59
  /**
50
60
  * serializeAws_json1_1DescribeTrustedAdvisorCheckRefreshStatusesCommand
51
61
  */
@@ -94,6 +104,10 @@ export declare const de_DescribeCasesCommand: (output: __HttpResponse, context:
94
104
  * deserializeAws_json1_1DescribeCommunicationsCommand
95
105
  */
96
106
  export declare const de_DescribeCommunicationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeCommunicationsCommandOutput>;
107
+ /**
108
+ * deserializeAws_json1_1DescribeCreateCaseOptionsCommand
109
+ */
110
+ export declare const de_DescribeCreateCaseOptionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeCreateCaseOptionsCommandOutput>;
97
111
  /**
98
112
  * deserializeAws_json1_1DescribeServicesCommand
99
113
  */
@@ -102,6 +116,10 @@ export declare const de_DescribeServicesCommand: (output: __HttpResponse, contex
102
116
  * deserializeAws_json1_1DescribeSeverityLevelsCommand
103
117
  */
104
118
  export declare const de_DescribeSeverityLevelsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeSeverityLevelsCommandOutput>;
119
+ /**
120
+ * deserializeAws_json1_1DescribeSupportedLanguagesCommand
121
+ */
122
+ export declare const de_DescribeSupportedLanguagesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeSupportedLanguagesCommandOutput>;
105
123
  /**
106
124
  * deserializeAws_json1_1DescribeTrustedAdvisorCheckRefreshStatusesCommand
107
125
  */
@@ -23,6 +23,10 @@ import {
23
23
  DescribeCommunicationsCommandInput,
24
24
  DescribeCommunicationsCommandOutput,
25
25
  } from "./commands/DescribeCommunicationsCommand";
26
+ import {
27
+ DescribeCreateCaseOptionsCommandInput,
28
+ DescribeCreateCaseOptionsCommandOutput,
29
+ } from "./commands/DescribeCreateCaseOptionsCommand";
26
30
  import {
27
31
  DescribeServicesCommandInput,
28
32
  DescribeServicesCommandOutput,
@@ -31,6 +35,10 @@ import {
31
35
  DescribeSeverityLevelsCommandInput,
32
36
  DescribeSeverityLevelsCommandOutput,
33
37
  } from "./commands/DescribeSeverityLevelsCommand";
38
+ import {
39
+ DescribeSupportedLanguagesCommandInput,
40
+ DescribeSupportedLanguagesCommandOutput,
41
+ } from "./commands/DescribeSupportedLanguagesCommand";
34
42
  import {
35
43
  DescribeTrustedAdvisorCheckRefreshStatusesCommandInput,
36
44
  DescribeTrustedAdvisorCheckRefreshStatusesCommandOutput,
@@ -135,6 +143,19 @@ export interface Support {
135
143
  options: __HttpHandlerOptions,
136
144
  cb: (err: any, data?: DescribeCommunicationsCommandOutput) => void
137
145
  ): void;
146
+ describeCreateCaseOptions(
147
+ args: DescribeCreateCaseOptionsCommandInput,
148
+ options?: __HttpHandlerOptions
149
+ ): Promise<DescribeCreateCaseOptionsCommandOutput>;
150
+ describeCreateCaseOptions(
151
+ args: DescribeCreateCaseOptionsCommandInput,
152
+ cb: (err: any, data?: DescribeCreateCaseOptionsCommandOutput) => void
153
+ ): void;
154
+ describeCreateCaseOptions(
155
+ args: DescribeCreateCaseOptionsCommandInput,
156
+ options: __HttpHandlerOptions,
157
+ cb: (err: any, data?: DescribeCreateCaseOptionsCommandOutput) => void
158
+ ): void;
138
159
  describeServices(
139
160
  args: DescribeServicesCommandInput,
140
161
  options?: __HttpHandlerOptions
@@ -161,6 +182,19 @@ export interface Support {
161
182
  options: __HttpHandlerOptions,
162
183
  cb: (err: any, data?: DescribeSeverityLevelsCommandOutput) => void
163
184
  ): void;
185
+ describeSupportedLanguages(
186
+ args: DescribeSupportedLanguagesCommandInput,
187
+ options?: __HttpHandlerOptions
188
+ ): Promise<DescribeSupportedLanguagesCommandOutput>;
189
+ describeSupportedLanguages(
190
+ args: DescribeSupportedLanguagesCommandInput,
191
+ cb: (err: any, data?: DescribeSupportedLanguagesCommandOutput) => void
192
+ ): void;
193
+ describeSupportedLanguages(
194
+ args: DescribeSupportedLanguagesCommandInput,
195
+ options: __HttpHandlerOptions,
196
+ cb: (err: any, data?: DescribeSupportedLanguagesCommandOutput) => void
197
+ ): void;
164
198
  describeTrustedAdvisorCheckRefreshStatuses(
165
199
  args: DescribeTrustedAdvisorCheckRefreshStatusesCommandInput,
166
200
  options?: __HttpHandlerOptions
@@ -68,6 +68,10 @@ import {
68
68
  DescribeCommunicationsCommandInput,
69
69
  DescribeCommunicationsCommandOutput,
70
70
  } from "./commands/DescribeCommunicationsCommand";
71
+ import {
72
+ DescribeCreateCaseOptionsCommandInput,
73
+ DescribeCreateCaseOptionsCommandOutput,
74
+ } from "./commands/DescribeCreateCaseOptionsCommand";
71
75
  import {
72
76
  DescribeServicesCommandInput,
73
77
  DescribeServicesCommandOutput,
@@ -76,6 +80,10 @@ import {
76
80
  DescribeSeverityLevelsCommandInput,
77
81
  DescribeSeverityLevelsCommandOutput,
78
82
  } from "./commands/DescribeSeverityLevelsCommand";
83
+ import {
84
+ DescribeSupportedLanguagesCommandInput,
85
+ DescribeSupportedLanguagesCommandOutput,
86
+ } from "./commands/DescribeSupportedLanguagesCommand";
79
87
  import {
80
88
  DescribeTrustedAdvisorCheckRefreshStatusesCommandInput,
81
89
  DescribeTrustedAdvisorCheckRefreshStatusesCommandOutput,
@@ -112,8 +120,10 @@ export type ServiceInputTypes =
112
120
  | DescribeAttachmentCommandInput
113
121
  | DescribeCasesCommandInput
114
122
  | DescribeCommunicationsCommandInput
123
+ | DescribeCreateCaseOptionsCommandInput
115
124
  | DescribeServicesCommandInput
116
125
  | DescribeSeverityLevelsCommandInput
126
+ | DescribeSupportedLanguagesCommandInput
117
127
  | DescribeTrustedAdvisorCheckRefreshStatusesCommandInput
118
128
  | DescribeTrustedAdvisorCheckResultCommandInput
119
129
  | DescribeTrustedAdvisorCheckSummariesCommandInput
@@ -127,8 +137,10 @@ export type ServiceOutputTypes =
127
137
  | DescribeAttachmentCommandOutput
128
138
  | DescribeCasesCommandOutput
129
139
  | DescribeCommunicationsCommandOutput
140
+ | DescribeCreateCaseOptionsCommandOutput
130
141
  | DescribeServicesCommandOutput
131
142
  | DescribeSeverityLevelsCommandOutput
143
+ | DescribeSupportedLanguagesCommandOutput
132
144
  | DescribeTrustedAdvisorCheckRefreshStatusesCommandOutput
133
145
  | DescribeTrustedAdvisorCheckResultCommandOutput
134
146
  | DescribeTrustedAdvisorCheckSummariesCommandOutput
@@ -0,0 +1,41 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ DescribeCreateCaseOptionsRequest,
11
+ DescribeCreateCaseOptionsResponse,
12
+ } from "../models/models_0";
13
+ import {
14
+ ServiceInputTypes,
15
+ ServiceOutputTypes,
16
+ SupportClientResolvedConfig,
17
+ } from "../SupportClient";
18
+ export interface DescribeCreateCaseOptionsCommandInput
19
+ extends DescribeCreateCaseOptionsRequest {}
20
+ export interface DescribeCreateCaseOptionsCommandOutput
21
+ extends DescribeCreateCaseOptionsResponse,
22
+ __MetadataBearer {}
23
+ export declare class DescribeCreateCaseOptionsCommand extends $Command<
24
+ DescribeCreateCaseOptionsCommandInput,
25
+ DescribeCreateCaseOptionsCommandOutput,
26
+ SupportClientResolvedConfig
27
+ > {
28
+ readonly input: DescribeCreateCaseOptionsCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: DescribeCreateCaseOptionsCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: SupportClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ DescribeCreateCaseOptionsCommandInput,
37
+ DescribeCreateCaseOptionsCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -0,0 +1,41 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ DescribeSupportedLanguagesRequest,
11
+ DescribeSupportedLanguagesResponse,
12
+ } from "../models/models_0";
13
+ import {
14
+ ServiceInputTypes,
15
+ ServiceOutputTypes,
16
+ SupportClientResolvedConfig,
17
+ } from "../SupportClient";
18
+ export interface DescribeSupportedLanguagesCommandInput
19
+ extends DescribeSupportedLanguagesRequest {}
20
+ export interface DescribeSupportedLanguagesCommandOutput
21
+ extends DescribeSupportedLanguagesResponse,
22
+ __MetadataBearer {}
23
+ export declare class DescribeSupportedLanguagesCommand extends $Command<
24
+ DescribeSupportedLanguagesCommandInput,
25
+ DescribeSupportedLanguagesCommandOutput,
26
+ SupportClientResolvedConfig
27
+ > {
28
+ readonly input: DescribeSupportedLanguagesCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: DescribeSupportedLanguagesCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: SupportClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ DescribeSupportedLanguagesCommandInput,
37
+ DescribeSupportedLanguagesCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -4,8 +4,10 @@ export * from "./CreateCaseCommand";
4
4
  export * from "./DescribeAttachmentCommand";
5
5
  export * from "./DescribeCasesCommand";
6
6
  export * from "./DescribeCommunicationsCommand";
7
+ export * from "./DescribeCreateCaseOptionsCommand";
7
8
  export * from "./DescribeServicesCommand";
8
9
  export * from "./DescribeSeverityLevelsCommand";
10
+ export * from "./DescribeSupportedLanguagesCommand";
9
11
  export * from "./DescribeTrustedAdvisorCheckRefreshStatusesCommand";
10
12
  export * from "./DescribeTrustedAdvisorCheckResultCommand";
11
13
  export * from "./DescribeTrustedAdvisorCheckSummariesCommand";
@@ -160,6 +160,36 @@ export interface DescribeCommunicationsResponse {
160
160
  communications?: Communication[];
161
161
  nextToken?: string;
162
162
  }
163
+ export interface DescribeCreateCaseOptionsRequest {
164
+ issueType: string | undefined;
165
+ serviceCode: string | undefined;
166
+ language: string | undefined;
167
+ categoryCode: string | undefined;
168
+ }
169
+ export interface DateInterval {
170
+ startDateTime?: string;
171
+ endDateTime?: string;
172
+ }
173
+ export interface SupportedHour {
174
+ startTime?: string;
175
+ endTime?: string;
176
+ }
177
+ export interface CommunicationTypeOptions {
178
+ type?: string;
179
+ supportedHours?: SupportedHour[];
180
+ datesWithoutSupport?: DateInterval[];
181
+ }
182
+ export interface DescribeCreateCaseOptionsResponse {
183
+ languageAvailability?: string;
184
+ communicationTypes?: CommunicationTypeOptions[];
185
+ }
186
+ export declare class ThrottlingException extends __BaseException {
187
+ readonly name: "ThrottlingException";
188
+ readonly $fault: "client";
189
+ constructor(
190
+ opts: __ExceptionOptionType<ThrottlingException, __BaseException>
191
+ );
192
+ }
163
193
  export interface DescribeServicesRequest {
164
194
  serviceCodeList?: string[];
165
195
  language?: string;
@@ -186,6 +216,19 @@ export interface SeverityLevel {
186
216
  export interface DescribeSeverityLevelsResponse {
187
217
  severityLevels?: SeverityLevel[];
188
218
  }
219
+ export interface DescribeSupportedLanguagesRequest {
220
+ issueType: string | undefined;
221
+ serviceCode: string | undefined;
222
+ categoryCode: string | undefined;
223
+ }
224
+ export interface SupportedLanguage {
225
+ code?: string;
226
+ language?: string;
227
+ display?: string;
228
+ }
229
+ export interface DescribeSupportedLanguagesResponse {
230
+ supportedLanguages?: SupportedLanguage[];
231
+ }
189
232
  export interface DescribeTrustedAdvisorCheckRefreshStatusesRequest {
190
233
  checkIds: string[] | undefined;
191
234
  }
@@ -27,6 +27,10 @@ import {
27
27
  DescribeCommunicationsCommandInput,
28
28
  DescribeCommunicationsCommandOutput,
29
29
  } from "../commands/DescribeCommunicationsCommand";
30
+ import {
31
+ DescribeCreateCaseOptionsCommandInput,
32
+ DescribeCreateCaseOptionsCommandOutput,
33
+ } from "../commands/DescribeCreateCaseOptionsCommand";
30
34
  import {
31
35
  DescribeServicesCommandInput,
32
36
  DescribeServicesCommandOutput,
@@ -35,6 +39,10 @@ import {
35
39
  DescribeSeverityLevelsCommandInput,
36
40
  DescribeSeverityLevelsCommandOutput,
37
41
  } from "../commands/DescribeSeverityLevelsCommand";
42
+ import {
43
+ DescribeSupportedLanguagesCommandInput,
44
+ DescribeSupportedLanguagesCommandOutput,
45
+ } from "../commands/DescribeSupportedLanguagesCommand";
38
46
  import {
39
47
  DescribeTrustedAdvisorCheckRefreshStatusesCommandInput,
40
48
  DescribeTrustedAdvisorCheckRefreshStatusesCommandOutput,
@@ -83,6 +91,10 @@ export declare const se_DescribeCommunicationsCommand: (
83
91
  input: DescribeCommunicationsCommandInput,
84
92
  context: __SerdeContext
85
93
  ) => Promise<__HttpRequest>;
94
+ export declare const se_DescribeCreateCaseOptionsCommand: (
95
+ input: DescribeCreateCaseOptionsCommandInput,
96
+ context: __SerdeContext
97
+ ) => Promise<__HttpRequest>;
86
98
  export declare const se_DescribeServicesCommand: (
87
99
  input: DescribeServicesCommandInput,
88
100
  context: __SerdeContext
@@ -91,6 +103,10 @@ export declare const se_DescribeSeverityLevelsCommand: (
91
103
  input: DescribeSeverityLevelsCommandInput,
92
104
  context: __SerdeContext
93
105
  ) => Promise<__HttpRequest>;
106
+ export declare const se_DescribeSupportedLanguagesCommand: (
107
+ input: DescribeSupportedLanguagesCommandInput,
108
+ context: __SerdeContext
109
+ ) => Promise<__HttpRequest>;
94
110
  export declare const se_DescribeTrustedAdvisorCheckRefreshStatusesCommand: (
95
111
  input: DescribeTrustedAdvisorCheckRefreshStatusesCommandInput,
96
112
  context: __SerdeContext
@@ -139,6 +155,10 @@ export declare const de_DescribeCommunicationsCommand: (
139
155
  output: __HttpResponse,
140
156
  context: __SerdeContext
141
157
  ) => Promise<DescribeCommunicationsCommandOutput>;
158
+ export declare const de_DescribeCreateCaseOptionsCommand: (
159
+ output: __HttpResponse,
160
+ context: __SerdeContext
161
+ ) => Promise<DescribeCreateCaseOptionsCommandOutput>;
142
162
  export declare const de_DescribeServicesCommand: (
143
163
  output: __HttpResponse,
144
164
  context: __SerdeContext
@@ -147,6 +167,10 @@ export declare const de_DescribeSeverityLevelsCommand: (
147
167
  output: __HttpResponse,
148
168
  context: __SerdeContext
149
169
  ) => Promise<DescribeSeverityLevelsCommandOutput>;
170
+ export declare const de_DescribeSupportedLanguagesCommand: (
171
+ output: __HttpResponse,
172
+ context: __SerdeContext
173
+ ) => Promise<DescribeSupportedLanguagesCommandOutput>;
150
174
  export declare const de_DescribeTrustedAdvisorCheckRefreshStatusesCommand: (
151
175
  output: __HttpResponse,
152
176
  context: __SerdeContext