aws-sdk-support 1.94.0 → 1.96.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.
@@ -28,11 +28,20 @@ module Aws::Support
28
28
  # attachment, such as `troubleshoot-screenshot.png`.
29
29
  # @return [Array<Types::Attachment>]
30
30
  #
31
+ # @!attribute [rw] dry_run
32
+ # Specifies whether to validate the request without actually adding
33
+ # the attachments. When set to `true`, the request is validated but no
34
+ # attachments are stored, and the operation returns a
35
+ # `DryRunOperationException`. When omitted or set to `false`, the
36
+ # request runs normally.
37
+ # @return [Boolean]
38
+ #
31
39
  # @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/AddAttachmentsToSetRequest AWS API Documentation
32
40
  #
33
41
  class AddAttachmentsToSetRequest < Struct.new(
34
42
  :attachment_set_id,
35
- :attachments)
43
+ :attachments,
44
+ :dry_run)
36
45
  SENSITIVE = []
37
46
  include Aws::Structure
38
47
  end
@@ -63,7 +72,7 @@ module Aws::Support
63
72
  # @!attribute [rw] case_id
64
73
  # The support case ID requested or returned in the call. The case ID
65
74
  # is an alphanumeric string formatted as shown in this example:
66
- # case-*12345678910-2013-c4c1d2bf33c5cf47*
75
+ # case-*12345678910-exen-2025-c4c1d2bf33c5cf47*
67
76
  # @return [String]
68
77
  #
69
78
  # @!attribute [rw] communication_body
@@ -77,8 +86,27 @@ module Aws::Support
77
86
  #
78
87
  # @!attribute [rw] attachment_set_id
79
88
  # The ID of a set of one or more attachments for the communication to
80
- # add to the case. Create the set by calling AddAttachmentsToSet
81
- # @return [String]
89
+ # add to the case. Create the set by calling AddAttachmentsToSet. Each
90
+ # attachment in the set must be 5 MB or smaller. To attach files
91
+ # larger than 5 MB, use `uploadIds`.
92
+ # @return [String]
93
+ #
94
+ # @!attribute [rw] upload_ids
95
+ # A list of upload IDs that identify attachments to add to the case.
96
+ # Each `uploadId` is returned by the GetAttachmentUploadLinks
97
+ # operation. The upload must reach the `attachment-ready` state by
98
+ # calling CompleteAttachmentUpload before it can be passed here. Use
99
+ # `uploadIds` to attach files of any supported size, including files
100
+ # larger than 5 MB.
101
+ # @return [Array<String>]
102
+ #
103
+ # @!attribute [rw] dry_run
104
+ # Specifies whether to validate the request without actually adding
105
+ # the communication to the case. When set to `true`, the request is
106
+ # validated but the communication isn't added, and the operation
107
+ # returns a `DryRunOperationException`. When omitted or set to
108
+ # `false`, the request runs normally.
109
+ # @return [Boolean]
82
110
  #
83
111
  # @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/AddCommunicationToCaseRequest AWS API Documentation
84
112
  #
@@ -86,7 +114,9 @@ module Aws::Support
86
114
  :case_id,
87
115
  :communication_body,
88
116
  :cc_email_addresses,
89
- :attachment_set_id)
117
+ :attachment_set_id,
118
+ :upload_ids,
119
+ :dry_run)
90
120
  SENSITIVE = []
91
121
  include Aws::Structure
92
122
  end
@@ -246,7 +276,7 @@ module Aws::Support
246
276
  #
247
277
  # * **caseId** - The support case ID requested or returned in the call.
248
278
  # The case ID is an alphanumeric string formatted as shown in this
249
- # example: case-*12345678910-2013-c4c1d2bf33c5cf47*.
279
+ # example: case-*12345678910-exen-2025-c4c1d2bf33c5cf47*.
250
280
  #
251
281
  # * **categoryCode** - The category of problem for the support case.
252
282
  # Corresponds to the `CategoryCode` values returned by a call to
@@ -257,9 +287,11 @@ module Aws::Support
257
287
  #
258
288
  # * **language** - The language in which Amazon Web Services Support
259
289
  # handles the case. Amazon Web Services Support currently supports
260
- # Chinese (“zh”), English ("en"), Japanese ("ja") and Korean
261
- # (“ko”). You must specify the ISO 639-1 code for the `language`
262
- # parameter if you want support in that language.
290
+ # Chinese (“zh”), English ("en"), Japanese ("ja") , Chinese
291
+ # ("zh"), Spanish ("es"), Portuguese ("pt"), French ("fr"),
292
+ # Korean (“ko”), and Turkish ("tr"). You must specify the ISO 639-1
293
+ # code for the `language` parameter if you want support in that
294
+ # language.
263
295
  #
264
296
  # * **nextToken** - A resumption point for pagination.
265
297
  #
@@ -304,7 +336,7 @@ module Aws::Support
304
336
  # @!attribute [rw] case_id
305
337
  # The support case ID requested or returned in the call. The case ID
306
338
  # is an alphanumeric string formatted as shown in this example:
307
- # case-*12345678910-2013-c4c1d2bf33c5cf47*
339
+ # case-*12345678910-exen-2025-c4c1d2bf33c5cf47*
308
340
  # @return [String]
309
341
  #
310
342
  # @!attribute [rw] display_id
@@ -378,9 +410,10 @@ module Aws::Support
378
410
  # @!attribute [rw] language
379
411
  # The language in which Amazon Web Services Support handles the case.
380
412
  # Amazon Web Services Support currently supports Chinese (“zh”),
381
- # English ("en"), Japanese ("ja") and Korean (“ko”). You must
382
- # specify the ISO 639-1 code for the `language` parameter if you want
383
- # support in that language.
413
+ # English ("en"), Japanese ("ja") , Chinese ("zh"), Spanish
414
+ # ("es"), Portuguese ("pt"), French ("fr"), Korean (“ko”), and
415
+ # Turkish ("tr"). You must specify the ISO 639-1 code for the
416
+ # `language` parameter if you want support in that language.
384
417
  # @return [String]
385
418
  #
386
419
  # @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/CaseDetails AWS API Documentation
@@ -445,7 +478,7 @@ module Aws::Support
445
478
  # @!attribute [rw] case_id
446
479
  # The support case ID requested or returned in the call. The case ID
447
480
  # is an alphanumeric string formatted as shown in this example:
448
- # case-*12345678910-2013-c4c1d2bf33c5cf47*
481
+ # case-*12345678910-exen-2025-c4c1d2bf33c5cf47*
449
482
  # @return [String]
450
483
  #
451
484
  # @!attribute [rw] body
@@ -466,8 +499,22 @@ module Aws::Support
466
499
  # The time the communication was created.
467
500
  # @return [String]
468
501
  #
502
+ # @!attribute [rw] attachments
503
+ # Information about all attachments on the case communication. This
504
+ # includes attachments added through `AddAttachmentsToSet` and
505
+ # attachments uploaded through `GetAttachmentUploadLinks`.
506
+ #
507
+ # Use this field to enumerate every attachment on the communication.
508
+ # To download an attachment listed in this field, use
509
+ # GetAttachmentDownloadLink. `GetAttachmentDownloadLink` returns a
510
+ # presigned URL that works for attachments of any size.
511
+ # @return [Array<Types::AttachmentDetails>]
512
+ #
469
513
  # @!attribute [rw] attachment_set
470
- # Information about the attachments to the case communication.
514
+ # Information about the attachments to the case communication that are
515
+ # 5 MB or smaller. This field doesn't include attachments larger than
516
+ # 5 MB. To enumerate every attachment on the communication, including
517
+ # attachments larger than 5 MB, use the `attachments` field instead.
471
518
  # @return [Array<Types::AttachmentDetails>]
472
519
  #
473
520
  # @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/Communication AWS API Documentation
@@ -477,6 +524,7 @@ module Aws::Support
477
524
  :body,
478
525
  :submitted_by,
479
526
  :time_created,
527
+ :attachments,
480
528
  :attachment_set)
481
529
  SENSITIVE = []
482
530
  include Aws::Structure
@@ -525,6 +573,72 @@ module Aws::Support
525
573
  include Aws::Structure
526
574
  end
527
575
 
576
+ # @!attribute [rw] upload_id
577
+ # The identifier associated with the upload to complete.
578
+ # @return [String]
579
+ #
580
+ # @!attribute [rw] completed_uploads
581
+ # The list of parts being reported as completed in this call. Each
582
+ # entry must contain the `partIndex` of an uploaded part and the
583
+ # `ETag` returned by Amazon S3 when that part was uploaded.
584
+ # @return [Array<Types::CompletedUpload>]
585
+ #
586
+ # @!attribute [rw] dry_run
587
+ # Specifies whether to validate the request without actually
588
+ # completing the upload. When set to `true`, the request is validated
589
+ # but the upload isn't finalized, and the operation returns a
590
+ # `DryRunOperationException`. When omitted or set to `false`, the
591
+ # request runs normally.
592
+ # @return [Boolean]
593
+ #
594
+ # @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/CompleteAttachmentUploadRequest AWS API Documentation
595
+ #
596
+ class CompleteAttachmentUploadRequest < Struct.new(
597
+ :upload_id,
598
+ :completed_uploads,
599
+ :dry_run)
600
+ SENSITIVE = []
601
+ include Aws::Structure
602
+ end
603
+
604
+ # @!attribute [rw] upload_status
605
+ # The status of the multipart upload after the operation finalizes the
606
+ # attachment. Valid values: `attachment-ready`,
607
+ # `attachment-not-ready`, and `failed`.
608
+ # @return [String]
609
+ #
610
+ # @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/CompleteAttachmentUploadResponse AWS API Documentation
611
+ #
612
+ class CompleteAttachmentUploadResponse < Struct.new(
613
+ :upload_status)
614
+ SENSITIVE = []
615
+ include Aws::Structure
616
+ end
617
+
618
+ # Identifies a single uploaded part of a multipart attachment upload.
619
+ # Pass a list of `CompletedUpload` objects to CompleteAttachmentUpload
620
+ # to finalize the upload.
621
+ #
622
+ # @!attribute [rw] part_index
623
+ # The index of the uploaded part. This is the same `partIndex` value
624
+ # returned for the corresponding entry in the `uploadUrls` field of
625
+ # the `GetAttachmentUploadLinks` response.
626
+ # @return [Integer]
627
+ #
628
+ # @!attribute [rw] e_tag
629
+ # The ETag returned in the response headers when the part was uploaded
630
+ # to Amazon S3. The `ETag` value identifies the part contents.
631
+ # @return [String]
632
+ #
633
+ # @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/CompletedUpload AWS API Documentation
634
+ #
635
+ class CompletedUpload < Struct.new(
636
+ :part_index,
637
+ :e_tag)
638
+ SENSITIVE = []
639
+ include Aws::Structure
640
+ end
641
+
528
642
  # @!attribute [rw] subject
529
643
  # The title of the support case. The title appears in the **Subject**
530
644
  # field on the Amazon Web Services Support Center [Create Case][1]
@@ -592,9 +706,10 @@ module Aws::Support
592
706
  # @!attribute [rw] language
593
707
  # The language in which Amazon Web Services Support handles the case.
594
708
  # Amazon Web Services Support currently supports Chinese (“zh”),
595
- # English ("en"), Japanese ("ja") and Korean (“ko”). You must
596
- # specify the ISO 639-1 code for the `language` parameter if you want
597
- # support in that language.
709
+ # English ("en"), Japanese ("ja") , Chinese ("zh"), Spanish
710
+ # ("es"), Portuguese ("pt"), French ("fr"), Korean (“ko”), and
711
+ # Turkish ("tr"). You must specify the ISO 639-1 code for the
712
+ # `language` parameter if you want support in that language.
598
713
  # @return [String]
599
714
  #
600
715
  # @!attribute [rw] issue_type
@@ -605,8 +720,26 @@ module Aws::Support
605
720
  #
606
721
  # @!attribute [rw] attachment_set_id
607
722
  # The ID of a set of one or more attachments for the case. Create the
608
- # set by using the AddAttachmentsToSet operation.
609
- # @return [String]
723
+ # set by using the AddAttachmentsToSet operation. Each attachment in
724
+ # the set must be 5 MB or smaller. To attach files larger than 5 MB,
725
+ # use `uploadIds`.
726
+ # @return [String]
727
+ #
728
+ # @!attribute [rw] upload_ids
729
+ # A list of upload IDs that identify attachments to add to the case.
730
+ # Each `uploadId` is returned by the GetAttachmentUploadLinks
731
+ # operation. The upload must reach the `attachment-ready` state by
732
+ # calling CompleteAttachmentUpload before it can be passed here. Use
733
+ # `uploadIds` to attach files of any supported size, including files
734
+ # larger than 5 MB.
735
+ # @return [Array<String>]
736
+ #
737
+ # @!attribute [rw] dry_run
738
+ # Specifies whether to validate the request without actually creating
739
+ # the case. When set to `true`, the request is validated but no case
740
+ # is created, and the operation returns a `DryRunOperationException`.
741
+ # When omitted or set to `false`, the request runs normally.
742
+ # @return [Boolean]
610
743
  #
611
744
  # @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/CreateCaseRequest AWS API Documentation
612
745
  #
@@ -619,7 +752,9 @@ module Aws::Support
619
752
  :cc_email_addresses,
620
753
  :language,
621
754
  :issue_type,
622
- :attachment_set_id)
755
+ :attachment_set_id,
756
+ :upload_ids,
757
+ :dry_run)
623
758
  SENSITIVE = []
624
759
  include Aws::Structure
625
760
  end
@@ -630,7 +765,7 @@ module Aws::Support
630
765
  # @!attribute [rw] case_id
631
766
  # The support case ID requested or returned in the call. The case ID
632
767
  # is an alphanumeric string in the following format:
633
- # case-*12345678910-2013-c4c1d2bf33c5cf47*
768
+ # case-*12345678910-exen-2025-c4c1d2bf33c5cf47*
634
769
  # @return [String]
635
770
  #
636
771
  # @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/CreateCaseResponse AWS API Documentation
@@ -682,12 +817,25 @@ module Aws::Support
682
817
  # @!attribute [rw] attachment_id
683
818
  # The ID of the attachment to return. Attachment IDs are returned by
684
819
  # the DescribeCommunications operation.
820
+ #
821
+ # If the specified attachment is larger than 5 MB, this operation
822
+ # returns `InvalidParameterValueException`. To download attachments
823
+ # larger than 5 MB, use GetAttachmentDownloadLink.
685
824
  # @return [String]
686
825
  #
826
+ # @!attribute [rw] dry_run
827
+ # Specifies whether to validate the request without actually
828
+ # retrieving the attachment. When set to `true`, the request is
829
+ # validated but no attachment content is returned, and the operation
830
+ # returns a `DryRunOperationException`. When omitted or set to
831
+ # `false`, the request runs normally.
832
+ # @return [Boolean]
833
+ #
687
834
  # @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeAttachmentRequest AWS API Documentation
688
835
  #
689
836
  class DescribeAttachmentRequest < Struct.new(
690
- :attachment_id)
837
+ :attachment_id,
838
+ :dry_run)
691
839
  SENSITIVE = []
692
840
  include Aws::Structure
693
841
  end
@@ -712,6 +860,52 @@ module Aws::Support
712
860
  include Aws::Structure
713
861
  end
714
862
 
863
+ # @!attribute [rw] upload_id
864
+ # The unique identifier for the upload. The `uploadId` is returned by
865
+ # GetAttachmentUploadLinks when you initiate the upload.
866
+ # @return [String]
867
+ #
868
+ # @!attribute [rw] dry_run
869
+ # Specifies whether to validate the request without actually returning
870
+ # upload status. When set to `true`, the request is validated but no
871
+ # status is returned, and the operation returns a
872
+ # `DryRunOperationException`. When omitted or set to `false`, the
873
+ # request runs normally.
874
+ # @return [Boolean]
875
+ #
876
+ # @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeAttachmentUploadStatusRequest AWS API Documentation
877
+ #
878
+ class DescribeAttachmentUploadStatusRequest < Struct.new(
879
+ :upload_id,
880
+ :dry_run)
881
+ SENSITIVE = []
882
+ include Aws::Structure
883
+ end
884
+
885
+ # @!attribute [rw] upload_status
886
+ # The current status of the multipart upload. Valid values:
887
+ # `attachment-ready`, `attachment-not-ready`, and `failed`.
888
+ # @return [String]
889
+ #
890
+ # @!attribute [rw] file_name
891
+ # The name of the file being uploaded, including the file extension.
892
+ # @return [String]
893
+ #
894
+ # @!attribute [rw] upload_progress
895
+ # The progress of the multipart upload, including the total number of
896
+ # parts and the number of parts that have been successfully uploaded.
897
+ # @return [Types::UploadProgress]
898
+ #
899
+ # @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeAttachmentUploadStatusResponse AWS API Documentation
900
+ #
901
+ class DescribeAttachmentUploadStatusResponse < Struct.new(
902
+ :upload_status,
903
+ :file_name,
904
+ :upload_progress)
905
+ SENSITIVE = []
906
+ include Aws::Structure
907
+ end
908
+
715
909
  # @!attribute [rw] case_id_list
716
910
  # A list of ID numbers of the support cases you want returned. The
717
911
  # maximum number of cases is 100.
@@ -724,13 +918,13 @@ module Aws::Support
724
918
  #
725
919
  # @!attribute [rw] after_time
726
920
  # The start date for a filtered date search on support case
727
- # communications. Case communications are available for 12 months
921
+ # communications. Case communications are available for 24 months
728
922
  # after creation.
729
923
  # @return [String]
730
924
  #
731
925
  # @!attribute [rw] before_time
732
926
  # The end date for a filtered date search on support case
733
- # communications. Case communications are available for 12 months
927
+ # communications. Case communications are available for 24 months
734
928
  # after creation.
735
929
  # @return [String]
736
930
  #
@@ -751,9 +945,10 @@ module Aws::Support
751
945
  # @!attribute [rw] language
752
946
  # The language in which Amazon Web Services Support handles the case.
753
947
  # Amazon Web Services Support currently supports Chinese (“zh”),
754
- # English ("en"), Japanese ("ja") and Korean (“ko”). You must
755
- # specify the ISO 639-1 code for the `language` parameter if you want
756
- # support in that language.
948
+ # English ("en"), Japanese ("ja") , Chinese ("zh"), Spanish
949
+ # ("es"), Portuguese ("pt"), French ("fr"), Korean (“ko”), and
950
+ # Turkish ("tr"). You must specify the ISO 639-1 code for the
951
+ # `language` parameter if you want support in that language.
757
952
  # @return [String]
758
953
  #
759
954
  # @!attribute [rw] include_communications
@@ -761,6 +956,14 @@ module Aws::Support
761
956
  # response. By default, communications are included.
762
957
  # @return [Boolean]
763
958
  #
959
+ # @!attribute [rw] dry_run
960
+ # Specifies whether to validate the request without actually returning
961
+ # case data. When set to `true`, the request is validated but no cases
962
+ # are returned, and the operation returns a
963
+ # `DryRunOperationException`. When omitted or set to `false`, the
964
+ # request runs normally.
965
+ # @return [Boolean]
966
+ #
764
967
  # @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeCasesRequest AWS API Documentation
765
968
  #
766
969
  class DescribeCasesRequest < Struct.new(
@@ -772,7 +975,8 @@ module Aws::Support
772
975
  :next_token,
773
976
  :max_results,
774
977
  :language,
775
- :include_communications)
978
+ :include_communications,
979
+ :dry_run)
776
980
  SENSITIVE = []
777
981
  include Aws::Structure
778
982
  end
@@ -804,18 +1008,18 @@ module Aws::Support
804
1008
  # @!attribute [rw] case_id
805
1009
  # The support case ID requested or returned in the call. The case ID
806
1010
  # is an alphanumeric string formatted as shown in this example:
807
- # case-*12345678910-2013-c4c1d2bf33c5cf47*
1011
+ # case-*12345678910-exen-2025-c4c1d2bf33c5cf47*
808
1012
  # @return [String]
809
1013
  #
810
1014
  # @!attribute [rw] before_time
811
1015
  # The end date for a filtered date search on support case
812
- # communications. Case communications are available for 12 months
1016
+ # communications. Case communications are available for 24 months
813
1017
  # after creation.
814
1018
  # @return [String]
815
1019
  #
816
1020
  # @!attribute [rw] after_time
817
1021
  # The start date for a filtered date search on support case
818
- # communications. Case communications are available for 12 months
1022
+ # communications. Case communications are available for 24 months
819
1023
  # after creation.
820
1024
  # @return [String]
821
1025
  #
@@ -827,6 +1031,14 @@ module Aws::Support
827
1031
  # The maximum number of results to return before paginating.
828
1032
  # @return [Integer]
829
1033
  #
1034
+ # @!attribute [rw] dry_run
1035
+ # Specifies whether to validate the request without actually returning
1036
+ # communications. When set to `true`, the request is validated but no
1037
+ # communications are returned, and the operation returns a
1038
+ # `DryRunOperationException`. When omitted or set to `false`, the
1039
+ # request runs normally.
1040
+ # @return [Boolean]
1041
+ #
830
1042
  # @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeCommunicationsRequest AWS API Documentation
831
1043
  #
832
1044
  class DescribeCommunicationsRequest < Struct.new(
@@ -834,7 +1046,8 @@ module Aws::Support
834
1046
  :before_time,
835
1047
  :after_time,
836
1048
  :next_token,
837
- :max_results)
1049
+ :max_results,
1050
+ :dry_run)
838
1051
  SENSITIVE = []
839
1052
  include Aws::Structure
840
1053
  end
@@ -872,9 +1085,10 @@ module Aws::Support
872
1085
  # @!attribute [rw] language
873
1086
  # The language in which Amazon Web Services Support handles the case.
874
1087
  # Amazon Web Services Support currently supports Chinese (“zh”),
875
- # English ("en"), Japanese ("ja") and Korean (“ko”). You must
876
- # specify the ISO 639-1 code for the `language` parameter if you want
877
- # support in that language.
1088
+ # English ("en"), Japanese ("ja") , Chinese ("zh"), Spanish
1089
+ # ("es"), Portuguese ("pt"), French ("fr"), Korean (“ko”), and
1090
+ # Turkish ("tr"). You must specify the ISO 639-1 code for the
1091
+ # `language` parameter if you want support in that language.
878
1092
  # @return [String]
879
1093
  #
880
1094
  # @!attribute [rw] category_code
@@ -884,13 +1098,22 @@ module Aws::Support
884
1098
  # codes.
885
1099
  # @return [String]
886
1100
  #
1101
+ # @!attribute [rw] dry_run
1102
+ # Specifies whether to validate the request without actually returning
1103
+ # case option data. When set to `true`, the request is validated but
1104
+ # no options are returned, and the operation returns a
1105
+ # `DryRunOperationException`. When omitted or set to `false`, the
1106
+ # request runs normally.
1107
+ # @return [Boolean]
1108
+ #
887
1109
  # @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeCreateCaseOptionsRequest AWS API Documentation
888
1110
  #
889
1111
  class DescribeCreateCaseOptionsRequest < Struct.new(
890
1112
  :issue_type,
891
1113
  :service_code,
892
1114
  :language,
893
- :category_code)
1115
+ :category_code,
1116
+ :dry_run)
894
1117
  SENSITIVE = []
895
1118
  include Aws::Structure
896
1119
  end
@@ -928,16 +1151,26 @@ module Aws::Support
928
1151
  # @!attribute [rw] language
929
1152
  # The language in which Amazon Web Services Support handles the case.
930
1153
  # Amazon Web Services Support currently supports Chinese (“zh”),
931
- # English ("en"), Japanese ("ja") and Korean (“ko”). You must
932
- # specify the ISO 639-1 code for the `language` parameter if you want
933
- # support in that language.
934
- # @return [String]
1154
+ # English ("en"), Japanese ("ja") , Chinese ("zh"), Spanish
1155
+ # ("es"), Portuguese ("pt"), French ("fr"), Korean (“ko”), and
1156
+ # Turkish ("tr"). You must specify the ISO 639-1 code for the
1157
+ # `language` parameter if you want support in that language.
1158
+ # @return [String]
1159
+ #
1160
+ # @!attribute [rw] dry_run
1161
+ # Specifies whether to validate the request without actually returning
1162
+ # the list of services. When set to `true`, the request is validated
1163
+ # but no services are returned, and the operation returns a
1164
+ # `DryRunOperationException`. When omitted or set to `false`, the
1165
+ # request runs normally.
1166
+ # @return [Boolean]
935
1167
  #
936
1168
  # @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeServicesRequest AWS API Documentation
937
1169
  #
938
1170
  class DescribeServicesRequest < Struct.new(
939
1171
  :service_code_list,
940
- :language)
1172
+ :language,
1173
+ :dry_run)
941
1174
  SENSITIVE = []
942
1175
  include Aws::Structure
943
1176
  end
@@ -960,15 +1193,25 @@ module Aws::Support
960
1193
  # @!attribute [rw] language
961
1194
  # The language in which Amazon Web Services Support handles the case.
962
1195
  # Amazon Web Services Support currently supports Chinese (“zh”),
963
- # English ("en"), Japanese ("ja") and Korean (“ko”). You must
964
- # specify the ISO 639-1 code for the `language` parameter if you want
965
- # support in that language.
966
- # @return [String]
1196
+ # English ("en"), Japanese ("ja") , Chinese ("zh"), Spanish
1197
+ # ("es"), Portuguese ("pt"), French ("fr"), Korean (“ko”), and
1198
+ # Turkish ("tr"). You must specify the ISO 639-1 code for the
1199
+ # `language` parameter if you want support in that language.
1200
+ # @return [String]
1201
+ #
1202
+ # @!attribute [rw] dry_run
1203
+ # Specifies whether to validate the request without actually returning
1204
+ # severity levels. When set to `true`, the request is validated but no
1205
+ # severity levels are returned, and the operation returns a
1206
+ # `DryRunOperationException`. When omitted or set to `false`, the
1207
+ # request runs normally.
1208
+ # @return [Boolean]
967
1209
  #
968
1210
  # @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeSeverityLevelsRequest AWS API Documentation
969
1211
  #
970
1212
  class DescribeSeverityLevelsRequest < Struct.new(
971
- :language)
1213
+ :language,
1214
+ :dry_run)
972
1215
  SENSITIVE = []
973
1216
  include Aws::Structure
974
1217
  end
@@ -1007,12 +1250,21 @@ module Aws::Support
1007
1250
  # codes.
1008
1251
  # @return [String]
1009
1252
  #
1253
+ # @!attribute [rw] dry_run
1254
+ # Specifies whether to validate the request without actually returning
1255
+ # supported languages. When set to `true`, the request is validated
1256
+ # but no languages are returned, and the operation returns a
1257
+ # `DryRunOperationException`. When omitted or set to `false`, the
1258
+ # request runs normally.
1259
+ # @return [Boolean]
1260
+ #
1010
1261
  # @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DescribeSupportedLanguagesRequest AWS API Documentation
1011
1262
  #
1012
1263
  class DescribeSupportedLanguagesRequest < Struct.new(
1013
1264
  :issue_type,
1014
1265
  :service_code,
1015
- :category_code)
1266
+ :category_code,
1267
+ :dry_run)
1016
1268
  SENSITIVE = []
1017
1269
  include Aws::Structure
1018
1270
  end
@@ -1200,6 +1452,180 @@ module Aws::Support
1200
1452
  include Aws::Structure
1201
1453
  end
1202
1454
 
1455
+ # A presigned URL for downloading an attachment, along with the date and
1456
+ # time the URL expires. Returned by GetAttachmentDownloadLink.
1457
+ #
1458
+ # @!attribute [rw] url
1459
+ # The presigned HTTPS URL that you can use to download the attachment.
1460
+ # Download URLs are served from
1461
+ # `downloadv1.attachments.support.{region}.amazonaws.com`. The
1462
+ # `downloadv1` prefix is subject to change.
1463
+ # @return [String]
1464
+ #
1465
+ # @!attribute [rw] expiry_date
1466
+ # The date and time, in ISO-8601 format, when the presigned URL
1467
+ # expires. Download the attachment before this time.
1468
+ # @return [String]
1469
+ #
1470
+ # @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DownloadUrl AWS API Documentation
1471
+ #
1472
+ class DownloadUrl < Struct.new(
1473
+ :url,
1474
+ :expiry_date)
1475
+ SENSITIVE = []
1476
+ include Aws::Structure
1477
+ end
1478
+
1479
+ # The request was valid, but the operation wasn't performed because
1480
+ # `dryRun` was set to `true`.
1481
+ #
1482
+ # @!attribute [rw] message
1483
+ # @return [String]
1484
+ #
1485
+ # @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/DryRunOperationException AWS API Documentation
1486
+ #
1487
+ class DryRunOperationException < Struct.new(
1488
+ :message)
1489
+ SENSITIVE = []
1490
+ include Aws::Structure
1491
+ end
1492
+
1493
+ # @!attribute [rw] attachment_id
1494
+ # The unique identifier of the attachment for which to retrieve a
1495
+ # download link. Attachment IDs are returned in the
1496
+ # `AttachmentDetails` objects in the `attachments` field of a
1497
+ # Communication returned by DescribeCommunications or DescribeCases.
1498
+ # @return [String]
1499
+ #
1500
+ # @!attribute [rw] dry_run
1501
+ # Specifies whether to validate the request without actually returning
1502
+ # a download link. When set to `true`, the request is validated but no
1503
+ # URL is returned, and the operation returns a
1504
+ # `DryRunOperationException`. When omitted or set to `false`, the
1505
+ # request runs normally.
1506
+ # @return [Boolean]
1507
+ #
1508
+ # @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/GetAttachmentDownloadLinkRequest AWS API Documentation
1509
+ #
1510
+ class GetAttachmentDownloadLinkRequest < Struct.new(
1511
+ :attachment_id,
1512
+ :dry_run)
1513
+ SENSITIVE = []
1514
+ include Aws::Structure
1515
+ end
1516
+
1517
+ # @!attribute [rw] file_name
1518
+ # The name of the attachment file, including the file extension.
1519
+ # @return [String]
1520
+ #
1521
+ # @!attribute [rw] download_url
1522
+ # The presigned download URL and the date and time the URL expires.
1523
+ # @return [Types::DownloadUrl]
1524
+ #
1525
+ # @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/GetAttachmentDownloadLinkResponse AWS API Documentation
1526
+ #
1527
+ class GetAttachmentDownloadLinkResponse < Struct.new(
1528
+ :file_name,
1529
+ :download_url)
1530
+ SENSITIVE = []
1531
+ include Aws::Structure
1532
+ end
1533
+
1534
+ # @!attribute [rw] file_name
1535
+ # The name of the file to upload, including the file extension. This
1536
+ # value is required when you initiate a new upload.
1537
+ # @return [String]
1538
+ #
1539
+ # @!attribute [rw] file_size_bytes
1540
+ # The total size of the file in bytes. The service uses this value to
1541
+ # calculate the total number of parts and the size of each part.
1542
+ # Required when you initiate a new upload (when `uploadId` isn't
1543
+ # provided). Valid range: 1 to 157,286,400 bytes (approximately 150
1544
+ # MB).
1545
+ # @return [Integer]
1546
+ #
1547
+ # @!attribute [rw] upload_id
1548
+ # The unique identifier of an in-progress multipart upload, returned
1549
+ # by a previous call to `GetAttachmentUploadLinks`. Specify `uploadId`
1550
+ # to retrieve additional presigned upload URLs for an upload that has
1551
+ # already been initiated. Required when `fileSizeBytes` isn't
1552
+ # provided. Length: 1 to 2,048 characters.
1553
+ # @return [String]
1554
+ #
1555
+ # @!attribute [rw] upload_range
1556
+ # The range of part indexes for which to return presigned upload URLs.
1557
+ # Use this parameter to page through the upload URLs for a large file
1558
+ # across multiple calls. If you omit this parameter, the service
1559
+ # determines the range to return.
1560
+ # @return [Types::UploadRange]
1561
+ #
1562
+ # @!attribute [rw] dry_run
1563
+ # Specifies whether to validate the request without actually
1564
+ # generating upload URLs. When set to `true`, the request is validated
1565
+ # but no URLs are returned, and the operation returns a
1566
+ # `DryRunOperationException`. When omitted or set to `false`, the
1567
+ # request runs normally.
1568
+ # @return [Boolean]
1569
+ #
1570
+ # @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/GetAttachmentUploadLinksRequest AWS API Documentation
1571
+ #
1572
+ class GetAttachmentUploadLinksRequest < Struct.new(
1573
+ :file_name,
1574
+ :file_size_bytes,
1575
+ :upload_id,
1576
+ :upload_range,
1577
+ :dry_run)
1578
+ SENSITIVE = []
1579
+ include Aws::Structure
1580
+ end
1581
+
1582
+ # @!attribute [rw] upload_id
1583
+ # The unique identifier for the multipart upload. Use this value in
1584
+ # subsequent calls to `GetAttachmentUploadLinks`,
1585
+ # DescribeAttachmentUploadStatus, and CompleteAttachmentUpload, and to
1586
+ # attach the upload to a case through the `uploadIds` parameter on
1587
+ # CreateCase or AddCommunicationToCase.
1588
+ # @return [String]
1589
+ #
1590
+ # @!attribute [rw] part_size_bytes
1591
+ # The size, in bytes, of each part. Split the file into parts of this
1592
+ # size before you upload them to the presigned URLs. For an upload
1593
+ # with `n` total parts, parts 1 through `n` - 1 are exactly this size;
1594
+ # the last part may be smaller. Maximum: 104,857,600 bytes
1595
+ # (approximately 100 MB).
1596
+ # @return [Integer]
1597
+ #
1598
+ # @!attribute [rw] total_parts
1599
+ # The total number of parts that the file is split into. Upload one
1600
+ # part to each presigned URL.
1601
+ # @return [Integer]
1602
+ #
1603
+ # @!attribute [rw] next_index
1604
+ # The next part index to request presigned URLs for. If all upload
1605
+ # URLs for the file have been returned, this field is `null`. Use this
1606
+ # value as the `startIndex` in `uploadRange` on a subsequent call to
1607
+ # `GetAttachmentUploadLinks` to retrieve the next batch of upload
1608
+ # URLs.
1609
+ # @return [Integer]
1610
+ #
1611
+ # @!attribute [rw] upload_urls
1612
+ # The list of presigned upload URLs for the requested range of parts.
1613
+ # The list contains at most 10 URLs per call. Upload each part to its
1614
+ # corresponding URL by using HTTP `PUT` before the URL expires.
1615
+ # @return [Array<Types::UploadUrl>]
1616
+ #
1617
+ # @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/GetAttachmentUploadLinksResponse AWS API Documentation
1618
+ #
1619
+ class GetAttachmentUploadLinksResponse < Struct.new(
1620
+ :upload_id,
1621
+ :part_size_bytes,
1622
+ :total_parts,
1623
+ :next_index,
1624
+ :upload_urls)
1625
+ SENSITIVE = []
1626
+ include Aws::Structure
1627
+ end
1628
+
1203
1629
  # An internal server error occurred.
1204
1630
  #
1205
1631
  # @!attribute [rw] message
@@ -1268,13 +1694,22 @@ module Aws::Support
1268
1694
  # @!attribute [rw] case_id
1269
1695
  # The support case ID requested or returned in the call. The case ID
1270
1696
  # is an alphanumeric string formatted as shown in this example:
1271
- # case-*12345678910-2013-c4c1d2bf33c5cf47*
1697
+ # case-*12345678910-exen-2025-c4c1d2bf33c5cf47*
1272
1698
  # @return [String]
1273
1699
  #
1700
+ # @!attribute [rw] dry_run
1701
+ # Specifies whether to validate the request without actually resolving
1702
+ # the case. When set to `true`, the request is validated but the case
1703
+ # isn't resolved, and the operation returns a
1704
+ # `DryRunOperationException`. When omitted or set to `false`, the
1705
+ # request runs normally.
1706
+ # @return [Boolean]
1707
+ #
1274
1708
  # @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/ResolveCaseRequest AWS API Documentation
1275
1709
  #
1276
1710
  class ResolveCaseRequest < Struct.new(
1277
- :case_id)
1711
+ :case_id,
1712
+ :dry_run)
1278
1713
  SENSITIVE = []
1279
1714
  include Aws::Structure
1280
1715
  end
@@ -1437,10 +1872,34 @@ module Aws::Support
1437
1872
  # @!attribute [rw] message
1438
1873
  # @return [String]
1439
1874
  #
1875
+ # @!attribute [rw] throttling_reasons
1876
+ # A list of one or more reasons that the request was throttled.
1877
+ # @return [Array<Types::ThrottlingReason>]
1878
+ #
1440
1879
  # @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/ThrottlingException AWS API Documentation
1441
1880
  #
1442
1881
  class ThrottlingException < Struct.new(
1443
- :message)
1882
+ :message,
1883
+ :throttling_reasons)
1884
+ SENSITIVE = []
1885
+ include Aws::Structure
1886
+ end
1887
+
1888
+ # Information about why a request was throttled.
1889
+ #
1890
+ # @!attribute [rw] reason
1891
+ # The reason that the request was throttled.
1892
+ # @return [String]
1893
+ #
1894
+ # @!attribute [rw] resource
1895
+ # The resource that caused the request to be throttled.
1896
+ # @return [String]
1897
+ #
1898
+ # @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/ThrottlingReason AWS API Documentation
1899
+ #
1900
+ class ThrottlingReason < Struct.new(
1901
+ :reason,
1902
+ :resource)
1444
1903
  SENSITIVE = []
1445
1904
  include Aws::Structure
1446
1905
  end
@@ -1725,6 +2184,96 @@ module Aws::Support
1725
2184
  include Aws::Structure
1726
2185
  end
1727
2186
 
2187
+ # The specified `uploadId` couldn't be located.
2188
+ #
2189
+ # @!attribute [rw] message
2190
+ # @return [String]
2191
+ #
2192
+ # @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/UploadIdNotFound AWS API Documentation
2193
+ #
2194
+ class UploadIdNotFound < Struct.new(
2195
+ :message)
2196
+ SENSITIVE = []
2197
+ include Aws::Structure
2198
+ end
2199
+
2200
+ # The progress of a multipart attachment upload, returned by
2201
+ # DescribeAttachmentUploadStatus.
2202
+ #
2203
+ # @!attribute [rw] total_parts
2204
+ # The total number of parts that the file is split into.
2205
+ # @return [Integer]
2206
+ #
2207
+ # @!attribute [rw] completed_parts_count
2208
+ # The number of parts that have been successfully uploaded.
2209
+ # @return [Integer]
2210
+ #
2211
+ # @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/UploadProgress AWS API Documentation
2212
+ #
2213
+ class UploadProgress < Struct.new(
2214
+ :total_parts,
2215
+ :completed_parts_count)
2216
+ SENSITIVE = []
2217
+ include Aws::Structure
2218
+ end
2219
+
2220
+ # The range of part indexes for which to return presigned upload URLs
2221
+ # from GetAttachmentUploadLinks.
2222
+ #
2223
+ # @!attribute [rw] start_index
2224
+ # The starting part index of the range, inclusive. Part indexes start
2225
+ # at 1.
2226
+ # @return [Integer]
2227
+ #
2228
+ # @!attribute [rw] end_index
2229
+ # The ending part index of the range, exclusive. The range is
2230
+ # half-open: `startIndex` is inclusive and `endIndex` is exclusive.
2231
+ # For example, a range with `startIndex` of 1 and `endIndex` of 4
2232
+ # requests URLs for parts 1, 2, and 3. The range size (`endIndex` -
2233
+ # `startIndex`) must not exceed 10. If you omit `endIndex`, the
2234
+ # service defaults to `startIndex` + 10, capped by the total number of
2235
+ # parts.
2236
+ # @return [Integer]
2237
+ #
2238
+ # @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/UploadRange AWS API Documentation
2239
+ #
2240
+ class UploadRange < Struct.new(
2241
+ :start_index,
2242
+ :end_index)
2243
+ SENSITIVE = []
2244
+ include Aws::Structure
2245
+ end
2246
+
2247
+ # A presigned URL for uploading a single part of a multipart attachment
2248
+ # upload, along with the part index and the date and time the URL
2249
+ # expires. Returned by GetAttachmentUploadLinks.
2250
+ #
2251
+ # @!attribute [rw] url
2252
+ # The presigned HTTPS URL that you use to upload a single part with
2253
+ # HTTP `PUT`. Upload URLs are served from
2254
+ # `uploadv1.attachments.support.{region}.amazonaws.com`. The
2255
+ # `uploadv1` prefix is subject to change.
2256
+ # @return [String]
2257
+ #
2258
+ # @!attribute [rw] part_index
2259
+ # The index of the part that this URL uploads.
2260
+ # @return [Integer]
2261
+ #
2262
+ # @!attribute [rw] expiry_date
2263
+ # The date and time, in ISO-8601 format, when the presigned URL
2264
+ # expires. Upload the part before this time.
2265
+ # @return [String]
2266
+ #
2267
+ # @see http://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/UploadUrl AWS API Documentation
2268
+ #
2269
+ class UploadUrl < Struct.new(
2270
+ :url,
2271
+ :part_index,
2272
+ :expiry_date)
2273
+ SENSITIVE = []
2274
+ include Aws::Structure
2275
+ end
2276
+
1728
2277
  end
1729
2278
  end
1730
2279