aws-sdk-core 2.4.2 → 2.4.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fa11336a7c54805cfbe8c6bbe5c5e9721576717a
4
- data.tar.gz: 93ebfa2e6f4f5e433664a8ac4e3fd44bf6f53905
3
+ metadata.gz: aa2ad0f174ccc5f76d4a440de619f05ac1eaa6c2
4
+ data.tar.gz: d0e41da4a7b18e309d82bb69d69302e4a46f474d
5
5
  SHA512:
6
- metadata.gz: 4ee80d5476d878e43b63a3fa97b3249b3643215381ec41e35c4747d44d966f470ca833a8510001b12310f87da7cfa6b036f9f16e0e6de57e3838e095b7b4e482
7
- data.tar.gz: a1b8b1d31a506aa4777e2833918f41a9f16021c4617bce421abf15f09d8d9fcbb65ca0e6053ec0a2864c6f9d1c11abbdf7e836bc455ebf48c52130f52f539931
6
+ metadata.gz: 2d04788cf3155caea639c90864719bf9073ad097ef39cf5856b1e0f9ffc94a55746a81c99c041fdb2d2d824933090352ac9850b94b7aef6792785228d2ee773e
7
+ data.tar.gz: 8537eb192ee829d46a36437b52a4ce0e327ebff648536b0271d880c2f7c7e4213c6cbd83d7040d65f306a3dc76e9665e72c07fdf689b38df17e8589bfc286d6e
@@ -378,6 +378,54 @@
378
378
  },
379
379
  "input":{"shape":"CreateThingRequest"},
380
380
  "output":{"shape":"CreateThingResponse"},
381
+ "errors":[
382
+ {
383
+ "shape":"InvalidRequestException",
384
+ "error":{"httpStatusCode":400},
385
+ "exception":true
386
+ },
387
+ {
388
+ "shape":"ThrottlingException",
389
+ "error":{"httpStatusCode":429},
390
+ "exception":true
391
+ },
392
+ {
393
+ "shape":"UnauthorizedException",
394
+ "error":{"httpStatusCode":401},
395
+ "exception":true
396
+ },
397
+ {
398
+ "shape":"ServiceUnavailableException",
399
+ "error":{"httpStatusCode":503},
400
+ "exception":true,
401
+ "fault":true
402
+ },
403
+ {
404
+ "shape":"InternalFailureException",
405
+ "error":{"httpStatusCode":500},
406
+ "exception":true,
407
+ "fault":true
408
+ },
409
+ {
410
+ "shape":"ResourceAlreadyExistsException",
411
+ "error":{"httpStatusCode":409},
412
+ "exception":true
413
+ },
414
+ {
415
+ "shape":"ResourceNotFoundException",
416
+ "error":{"httpStatusCode":404},
417
+ "exception":true
418
+ }
419
+ ]
420
+ },
421
+ "CreateThingType":{
422
+ "name":"CreateThingType",
423
+ "http":{
424
+ "method":"POST",
425
+ "requestUri":"/thing-types/{thingTypeName}"
426
+ },
427
+ "input":{"shape":"CreateThingTypeRequest"},
428
+ "output":{"shape":"CreateThingTypeResponse"},
381
429
  "errors":[
382
430
  {
383
431
  "shape":"InvalidRequestException",
@@ -690,6 +738,54 @@
690
738
  },
691
739
  "input":{"shape":"DeleteThingRequest"},
692
740
  "output":{"shape":"DeleteThingResponse"},
741
+ "errors":[
742
+ {
743
+ "shape":"ResourceNotFoundException",
744
+ "error":{"httpStatusCode":404},
745
+ "exception":true
746
+ },
747
+ {
748
+ "shape":"VersionConflictException",
749
+ "error":{"httpStatusCode":409},
750
+ "exception":true
751
+ },
752
+ {
753
+ "shape":"InvalidRequestException",
754
+ "error":{"httpStatusCode":400},
755
+ "exception":true
756
+ },
757
+ {
758
+ "shape":"ThrottlingException",
759
+ "error":{"httpStatusCode":429},
760
+ "exception":true
761
+ },
762
+ {
763
+ "shape":"UnauthorizedException",
764
+ "error":{"httpStatusCode":401},
765
+ "exception":true
766
+ },
767
+ {
768
+ "shape":"ServiceUnavailableException",
769
+ "error":{"httpStatusCode":503},
770
+ "exception":true,
771
+ "fault":true
772
+ },
773
+ {
774
+ "shape":"InternalFailureException",
775
+ "error":{"httpStatusCode":500},
776
+ "exception":true,
777
+ "fault":true
778
+ }
779
+ ]
780
+ },
781
+ "DeleteThingType":{
782
+ "name":"DeleteThingType",
783
+ "http":{
784
+ "method":"DELETE",
785
+ "requestUri":"/thing-types/{thingTypeName}"
786
+ },
787
+ "input":{"shape":"DeleteThingTypeRequest"},
788
+ "output":{"shape":"DeleteThingTypeResponse"},
693
789
  "errors":[
694
790
  {
695
791
  "shape":"ResourceNotFoundException",
@@ -757,6 +853,49 @@
757
853
  }
758
854
  ]
759
855
  },
856
+ "DeprecateThingType":{
857
+ "name":"DeprecateThingType",
858
+ "http":{
859
+ "method":"POST",
860
+ "requestUri":"/thing-types/{thingTypeName}/deprecate"
861
+ },
862
+ "input":{"shape":"DeprecateThingTypeRequest"},
863
+ "output":{"shape":"DeprecateThingTypeResponse"},
864
+ "errors":[
865
+ {
866
+ "shape":"ResourceNotFoundException",
867
+ "error":{"httpStatusCode":404},
868
+ "exception":true
869
+ },
870
+ {
871
+ "shape":"InvalidRequestException",
872
+ "error":{"httpStatusCode":400},
873
+ "exception":true
874
+ },
875
+ {
876
+ "shape":"ThrottlingException",
877
+ "error":{"httpStatusCode":429},
878
+ "exception":true
879
+ },
880
+ {
881
+ "shape":"UnauthorizedException",
882
+ "error":{"httpStatusCode":401},
883
+ "exception":true
884
+ },
885
+ {
886
+ "shape":"ServiceUnavailableException",
887
+ "error":{"httpStatusCode":503},
888
+ "exception":true,
889
+ "fault":true
890
+ },
891
+ {
892
+ "shape":"InternalFailureException",
893
+ "error":{"httpStatusCode":500},
894
+ "exception":true,
895
+ "fault":true
896
+ }
897
+ ]
898
+ },
760
899
  "DescribeCACertificate":{
761
900
  "name":"DescribeCACertificate",
762
901
  "http":{
@@ -913,6 +1052,49 @@
913
1052
  }
914
1053
  ]
915
1054
  },
1055
+ "DescribeThingType":{
1056
+ "name":"DescribeThingType",
1057
+ "http":{
1058
+ "method":"GET",
1059
+ "requestUri":"/thing-types/{thingTypeName}"
1060
+ },
1061
+ "input":{"shape":"DescribeThingTypeRequest"},
1062
+ "output":{"shape":"DescribeThingTypeResponse"},
1063
+ "errors":[
1064
+ {
1065
+ "shape":"ResourceNotFoundException",
1066
+ "error":{"httpStatusCode":404},
1067
+ "exception":true
1068
+ },
1069
+ {
1070
+ "shape":"InvalidRequestException",
1071
+ "error":{"httpStatusCode":400},
1072
+ "exception":true
1073
+ },
1074
+ {
1075
+ "shape":"ThrottlingException",
1076
+ "error":{"httpStatusCode":429},
1077
+ "exception":true
1078
+ },
1079
+ {
1080
+ "shape":"UnauthorizedException",
1081
+ "error":{"httpStatusCode":401},
1082
+ "exception":true
1083
+ },
1084
+ {
1085
+ "shape":"ServiceUnavailableException",
1086
+ "error":{"httpStatusCode":503},
1087
+ "exception":true,
1088
+ "fault":true
1089
+ },
1090
+ {
1091
+ "shape":"InternalFailureException",
1092
+ "error":{"httpStatusCode":500},
1093
+ "exception":true,
1094
+ "fault":true
1095
+ }
1096
+ ]
1097
+ },
916
1098
  "DetachPrincipalPolicy":{
917
1099
  "name":"DetachPrincipalPolicy",
918
1100
  "http":{
@@ -1563,6 +1745,11 @@
1563
1745
  "error":{"httpStatusCode":500},
1564
1746
  "exception":true,
1565
1747
  "fault":true
1748
+ },
1749
+ {
1750
+ "shape":"ResourceNotFoundException",
1751
+ "error":{"httpStatusCode":404},
1752
+ "exception":true
1566
1753
  }
1567
1754
  ]
1568
1755
  },
@@ -1574,6 +1761,49 @@
1574
1761
  },
1575
1762
  "input":{"shape":"ListThingPrincipalsRequest"},
1576
1763
  "output":{"shape":"ListThingPrincipalsResponse"},
1764
+ "errors":[
1765
+ {
1766
+ "shape":"InvalidRequestException",
1767
+ "error":{"httpStatusCode":400},
1768
+ "exception":true
1769
+ },
1770
+ {
1771
+ "shape":"ThrottlingException",
1772
+ "error":{"httpStatusCode":429},
1773
+ "exception":true
1774
+ },
1775
+ {
1776
+ "shape":"UnauthorizedException",
1777
+ "error":{"httpStatusCode":401},
1778
+ "exception":true
1779
+ },
1780
+ {
1781
+ "shape":"ServiceUnavailableException",
1782
+ "error":{"httpStatusCode":503},
1783
+ "exception":true,
1784
+ "fault":true
1785
+ },
1786
+ {
1787
+ "shape":"InternalFailureException",
1788
+ "error":{"httpStatusCode":500},
1789
+ "exception":true,
1790
+ "fault":true
1791
+ },
1792
+ {
1793
+ "shape":"ResourceNotFoundException",
1794
+ "error":{"httpStatusCode":404},
1795
+ "exception":true
1796
+ }
1797
+ ]
1798
+ },
1799
+ "ListThingTypes":{
1800
+ "name":"ListThingTypes",
1801
+ "http":{
1802
+ "method":"GET",
1803
+ "requestUri":"/thing-types"
1804
+ },
1805
+ "input":{"shape":"ListThingTypesRequest"},
1806
+ "output":{"shape":"ListThingTypesResponse"},
1577
1807
  "errors":[
1578
1808
  {
1579
1809
  "shape":"InvalidRequestException",
@@ -2095,6 +2325,11 @@
2095
2325
  "error":{"httpStatusCode":400},
2096
2326
  "exception":true
2097
2327
  },
2328
+ {
2329
+ "shape":"VersionConflictException",
2330
+ "error":{"httpStatusCode":409},
2331
+ "exception":true
2332
+ },
2098
2333
  {
2099
2334
  "shape":"ThrottlingException",
2100
2335
  "error":{"httpStatusCode":429},
@@ -2217,13 +2452,14 @@
2217
2452
  "AttributePayload":{
2218
2453
  "type":"structure",
2219
2454
  "members":{
2220
- "attributes":{"shape":"Attributes"}
2455
+ "attributes":{"shape":"Attributes"},
2456
+ "merge":{"shape":"Flag"}
2221
2457
  }
2222
2458
  },
2223
2459
  "AttributeValue":{
2224
2460
  "type":"string",
2225
- "max":1024,
2226
- "pattern":"[a-zA-Z0-9_.,@/:#-]+"
2461
+ "max":800,
2462
+ "pattern":"[a-zA-Z0-9_.,@/:#-]*"
2227
2463
  },
2228
2464
  "Attributes":{
2229
2465
  "type":"map",
@@ -2236,6 +2472,7 @@
2236
2472
  },
2237
2473
  "AwsArn":{"type":"string"},
2238
2474
  "AwsIotSqlVersion":{"type":"string"},
2475
+ "Boolean":{"type":"boolean"},
2239
2476
  "BucketName":{"type":"string"},
2240
2477
  "CACertificate":{
2241
2478
  "type":"structure",
@@ -2492,6 +2729,7 @@
2492
2729
  "location":"uri",
2493
2730
  "locationName":"thingName"
2494
2731
  },
2732
+ "thingTypeName":{"shape":"ThingTypeName"},
2495
2733
  "attributePayload":{"shape":"AttributePayload"}
2496
2734
  }
2497
2735
  },
@@ -2502,6 +2740,25 @@
2502
2740
  "thingArn":{"shape":"ThingArn"}
2503
2741
  }
2504
2742
  },
2743
+ "CreateThingTypeRequest":{
2744
+ "type":"structure",
2745
+ "required":["thingTypeName"],
2746
+ "members":{
2747
+ "thingTypeName":{
2748
+ "shape":"ThingTypeName",
2749
+ "location":"uri",
2750
+ "locationName":"thingTypeName"
2751
+ },
2752
+ "thingTypeProperties":{"shape":"ThingTypeProperties"}
2753
+ }
2754
+ },
2755
+ "CreateThingTypeResponse":{
2756
+ "type":"structure",
2757
+ "members":{
2758
+ "thingTypeName":{"shape":"ThingTypeName"},
2759
+ "thingTypeArn":{"shape":"ThingTypeArn"}
2760
+ }
2761
+ },
2505
2762
  "CreateTopicRuleRequest":{
2506
2763
  "type":"structure",
2507
2764
  "required":[
@@ -2519,6 +2776,7 @@
2519
2776
  "payload":"topicRulePayload"
2520
2777
  },
2521
2778
  "CreatedAtDate":{"type":"timestamp"},
2779
+ "CreationDate":{"type":"timestamp"},
2522
2780
  "DateType":{"type":"timestamp"},
2523
2781
  "DeleteCACertificateRequest":{
2524
2782
  "type":"structure",
@@ -2603,6 +2861,11 @@
2603
2861
  "shape":"ThingName",
2604
2862
  "location":"uri",
2605
2863
  "locationName":"thingName"
2864
+ },
2865
+ "expectedVersion":{
2866
+ "shape":"OptionalVersion",
2867
+ "location":"querystring",
2868
+ "locationName":"expectedVersion"
2606
2869
  }
2607
2870
  }
2608
2871
  },
@@ -2611,6 +2874,22 @@
2611
2874
  "members":{
2612
2875
  }
2613
2876
  },
2877
+ "DeleteThingTypeRequest":{
2878
+ "type":"structure",
2879
+ "required":["thingTypeName"],
2880
+ "members":{
2881
+ "thingTypeName":{
2882
+ "shape":"ThingTypeName",
2883
+ "location":"uri",
2884
+ "locationName":"thingTypeName"
2885
+ }
2886
+ }
2887
+ },
2888
+ "DeleteThingTypeResponse":{
2889
+ "type":"structure",
2890
+ "members":{
2891
+ }
2892
+ },
2614
2893
  "DeleteTopicRuleRequest":{
2615
2894
  "type":"structure",
2616
2895
  "members":{
@@ -2623,6 +2902,24 @@
2623
2902
  "required":["ruleName"]
2624
2903
  },
2625
2904
  "DeliveryStreamName":{"type":"string"},
2905
+ "DeprecateThingTypeRequest":{
2906
+ "type":"structure",
2907
+ "required":["thingTypeName"],
2908
+ "members":{
2909
+ "thingTypeName":{
2910
+ "shape":"ThingTypeName",
2911
+ "location":"uri",
2912
+ "locationName":"thingTypeName"
2913
+ },
2914
+ "undoDeprecate":{"shape":"UndoDeprecate"}
2915
+ }
2916
+ },
2917
+ "DeprecateThingTypeResponse":{
2918
+ "type":"structure",
2919
+ "members":{
2920
+ }
2921
+ },
2922
+ "DeprecationDate":{"type":"timestamp"},
2626
2923
  "DescribeCACertificateRequest":{
2627
2924
  "type":"structure",
2628
2925
  "required":["certificateId"],
@@ -2684,7 +2981,28 @@
2684
2981
  "members":{
2685
2982
  "defaultClientId":{"shape":"ClientId"},
2686
2983
  "thingName":{"shape":"ThingName"},
2687
- "attributes":{"shape":"Attributes"}
2984
+ "thingTypeName":{"shape":"ThingTypeName"},
2985
+ "attributes":{"shape":"Attributes"},
2986
+ "version":{"shape":"Version"}
2987
+ }
2988
+ },
2989
+ "DescribeThingTypeRequest":{
2990
+ "type":"structure",
2991
+ "required":["thingTypeName"],
2992
+ "members":{
2993
+ "thingTypeName":{
2994
+ "shape":"ThingTypeName",
2995
+ "location":"uri",
2996
+ "locationName":"thingTypeName"
2997
+ }
2998
+ }
2999
+ },
3000
+ "DescribeThingTypeResponse":{
3001
+ "type":"structure",
3002
+ "members":{
3003
+ "thingTypeName":{"shape":"ThingTypeName"},
3004
+ "thingTypeProperties":{"shape":"ThingTypeProperties"},
3005
+ "thingTypeMetadata":{"shape":"ThingTypeMetadata"}
2688
3006
  }
2689
3007
  },
2690
3008
  "Description":{"type":"string"},
@@ -2815,9 +3133,15 @@
2815
3133
  ],
2816
3134
  "members":{
2817
3135
  "roleArn":{"shape":"AwsArn"},
2818
- "deliveryStreamName":{"shape":"DeliveryStreamName"}
3136
+ "deliveryStreamName":{"shape":"DeliveryStreamName"},
3137
+ "separator":{"shape":"FirehoseSeparator"}
2819
3138
  }
2820
3139
  },
3140
+ "FirehoseSeparator":{
3141
+ "type":"string",
3142
+ "pattern":"([\\n\\t])|(\\r\\n)|(,)"
3143
+ },
3144
+ "Flag":{"type":"boolean"},
2821
3145
  "FunctionArn":{"type":"string"},
2822
3146
  "GetLoggingOptionsRequest":{
2823
3147
  "type":"structure",
@@ -3216,6 +3540,33 @@
3216
3540
  "principals":{"shape":"Principals"}
3217
3541
  }
3218
3542
  },
3543
+ "ListThingTypesRequest":{
3544
+ "type":"structure",
3545
+ "members":{
3546
+ "nextToken":{
3547
+ "shape":"NextToken",
3548
+ "location":"querystring",
3549
+ "locationName":"nextToken"
3550
+ },
3551
+ "maxResults":{
3552
+ "shape":"MaxResults",
3553
+ "location":"querystring",
3554
+ "locationName":"maxResults"
3555
+ },
3556
+ "thingTypeName":{
3557
+ "shape":"ThingTypeName",
3558
+ "location":"querystring",
3559
+ "locationName":"thingTypeName"
3560
+ }
3561
+ }
3562
+ },
3563
+ "ListThingTypesResponse":{
3564
+ "type":"structure",
3565
+ "members":{
3566
+ "thingTypes":{"shape":"ThingTypeList"},
3567
+ "nextToken":{"shape":"NextToken"}
3568
+ }
3569
+ },
3219
3570
  "ListThingsRequest":{
3220
3571
  "type":"structure",
3221
3572
  "members":{
@@ -3238,6 +3589,11 @@
3238
3589
  "shape":"AttributeValue",
3239
3590
  "location":"querystring",
3240
3591
  "locationName":"attributeValue"
3592
+ },
3593
+ "thingTypeName":{
3594
+ "shape":"ThingTypeName",
3595
+ "location":"querystring",
3596
+ "locationName":"thingTypeName"
3241
3597
  }
3242
3598
  }
3243
3599
  },
@@ -3329,6 +3685,7 @@
3329
3685
  "MetricUnit":{"type":"string"},
3330
3686
  "MetricValue":{"type":"string"},
3331
3687
  "NextToken":{"type":"string"},
3688
+ "OptionalVersion":{"type":"long"},
3332
3689
  "PageSize":{
3333
3690
  "type":"integer",
3334
3691
  "min":1,
@@ -3458,6 +3815,7 @@
3458
3815
  "rejectReason":{"shape":"Message"}
3459
3816
  }
3460
3817
  },
3818
+ "RemoveThingType":{"type":"boolean"},
3461
3819
  "ReplaceTopicRuleRequest":{
3462
3820
  "type":"structure",
3463
3821
  "required":[
@@ -3522,6 +3880,10 @@
3522
3880
  }
3523
3881
  },
3524
3882
  "SQL":{"type":"string"},
3883
+ "SearchableAttributes":{
3884
+ "type":"list",
3885
+ "member":{"shape":"AttributeName"}
3886
+ },
3525
3887
  "ServiceUnavailableException":{
3526
3888
  "type":"structure",
3527
3889
  "members":{
@@ -3601,7 +3963,9 @@
3601
3963
  "type":"structure",
3602
3964
  "members":{
3603
3965
  "thingName":{"shape":"ThingName"},
3604
- "attributes":{"shape":"Attributes"}
3966
+ "thingTypeName":{"shape":"ThingTypeName"},
3967
+ "attributes":{"shape":"Attributes"},
3968
+ "version":{"shape":"Version"}
3605
3969
  }
3606
3970
  },
3607
3971
  "ThingAttributeList":{
@@ -3612,12 +3976,51 @@
3612
3976
  "type":"string",
3613
3977
  "min":1,
3614
3978
  "max":128,
3615
- "pattern":"[a-zA-Z0-9_-]+"
3979
+ "pattern":"[a-zA-Z0-9:_-]+"
3616
3980
  },
3617
3981
  "ThingNameList":{
3618
3982
  "type":"list",
3619
3983
  "member":{"shape":"ThingName"}
3620
3984
  },
3985
+ "ThingTypeArn":{"type":"string"},
3986
+ "ThingTypeDefinition":{
3987
+ "type":"structure",
3988
+ "members":{
3989
+ "thingTypeName":{"shape":"ThingTypeName"},
3990
+ "thingTypeProperties":{"shape":"ThingTypeProperties"},
3991
+ "thingTypeMetadata":{"shape":"ThingTypeMetadata"}
3992
+ }
3993
+ },
3994
+ "ThingTypeDescription":{
3995
+ "type":"string",
3996
+ "max":2028,
3997
+ "pattern":"[\\p{Graph}\\x20]*"
3998
+ },
3999
+ "ThingTypeList":{
4000
+ "type":"list",
4001
+ "member":{"shape":"ThingTypeDefinition"}
4002
+ },
4003
+ "ThingTypeMetadata":{
4004
+ "type":"structure",
4005
+ "members":{
4006
+ "deprecated":{"shape":"Boolean"},
4007
+ "deprecationDate":{"shape":"DeprecationDate"},
4008
+ "creationDate":{"shape":"CreationDate"}
4009
+ }
4010
+ },
4011
+ "ThingTypeName":{
4012
+ "type":"string",
4013
+ "min":1,
4014
+ "max":128,
4015
+ "pattern":"[a-zA-Z0-9:_-]+"
4016
+ },
4017
+ "ThingTypeProperties":{
4018
+ "type":"structure",
4019
+ "members":{
4020
+ "thingTypeDescription":{"shape":"ThingTypeDescription"},
4021
+ "searchableAttributes":{"shape":"SearchableAttributes"}
4022
+ }
4023
+ },
3621
4024
  "ThrottlingException":{
3622
4025
  "type":"structure",
3623
4026
  "members":{
@@ -3728,6 +4131,7 @@
3728
4131
  "error":{"httpStatusCode":401},
3729
4132
  "exception":true
3730
4133
  },
4134
+ "UndoDeprecate":{"type":"boolean"},
3731
4135
  "UpdateCACertificateRequest":{
3732
4136
  "type":"structure",
3733
4137
  "required":[
@@ -3768,17 +4172,17 @@
3768
4172
  },
3769
4173
  "UpdateThingRequest":{
3770
4174
  "type":"structure",
3771
- "required":[
3772
- "thingName",
3773
- "attributePayload"
3774
- ],
4175
+ "required":["thingName"],
3775
4176
  "members":{
3776
4177
  "thingName":{
3777
4178
  "shape":"ThingName",
3778
4179
  "location":"uri",
3779
4180
  "locationName":"thingName"
3780
4181
  },
3781
- "attributePayload":{"shape":"AttributePayload"}
4182
+ "thingTypeName":{"shape":"ThingTypeName"},
4183
+ "attributePayload":{"shape":"AttributePayload"},
4184
+ "expectedVersion":{"shape":"OptionalVersion"},
4185
+ "removeThingType":{"shape":"RemoveThingType"}
3782
4186
  }
3783
4187
  },
3784
4188
  "UpdateThingResponse":{
@@ -3787,6 +4191,15 @@
3787
4191
  }
3788
4192
  },
3789
4193
  "UseBase64":{"type":"boolean"},
4194
+ "Version":{"type":"long"},
4195
+ "VersionConflictException":{
4196
+ "type":"structure",
4197
+ "members":{
4198
+ "message":{"shape":"errorMessage"}
4199
+ },
4200
+ "error":{"httpStatusCode":409},
4201
+ "exception":true
4202
+ },
3790
4203
  "VersionsLimitExceededException":{
3791
4204
  "type":"structure",
3792
4205
  "members":{
@@ -12,7 +12,7 @@ module Aws
12
12
  # @param [File, Tempfile, IO#read, String] value
13
13
  # @return [String<SHA256 Hexdigest>]
14
14
  def sha256_hexdigest(value)
15
- if File === value || Tempfile === value
15
+ if (File === value || Tempfile === value) && !value.path.nil? && File.exist?(value.path)
16
16
  OpenSSL::Digest::SHA256.file(value).hexdigest
17
17
  elsif value.respond_to?(:read)
18
18
  sha256 = OpenSSL::Digest::SHA256.new
@@ -26,7 +26,7 @@ module Aws
26
26
  # @param [File, Tempfile, IO#read, String] value
27
27
  # @return [String<MD5>]
28
28
  def md5(value)
29
- if File === value || Tempfile === value
29
+ if (File === value || Tempfile === value) && !value.path.nil? && File.exist?(value.path)
30
30
  Base64.encode64(OpenSSL::Digest::MD5.file(value).digest).strip
31
31
  elsif value.respond_to?(:read)
32
32
  md5 = OpenSSL::Digest::MD5.new
@@ -9,11 +9,13 @@ module Aws
9
9
 
10
10
  # Allows you to create signed URLs for Amazon CloudFront resources
11
11
  #
12
- # signer = Aws::CloudFront::UrlSigner.new
13
- # url = signer.signed_url(url,
12
+ # signer = Aws::CloudFront::UrlSigner.new(
14
13
  # key_pair_id: "cf-keypair-id",
15
14
  # private_key_path: "./cf_private_key.pem"
16
15
  # )
16
+ # url = signer.signed_url(url,
17
+ # policy: policy.to_json
18
+ # )
17
19
  #
18
20
  class UrlSigner
19
21
 
@@ -1,3 +1,3 @@
1
1
  module Aws
2
- VERSION = '2.4.2'
2
+ VERSION = '2.4.3'
3
3
  end
@@ -95,7 +95,9 @@ module Aws
95
95
  end
96
96
 
97
97
  def path(acceptor)
98
- acceptor['argument'].gsub(/\w+/) { |s| Seahorse::Util.underscore(s) }
98
+ acceptor['argument'].gsub(/(?<![`'])\b\w+\b(?![`'])/) do |str|
99
+ Seahorse::Util.underscore(str)
100
+ end
99
101
  end
100
102
 
101
103
  def non_empty_array(acceptor, response, &block)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.2
4
+ version: 2.4.3
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: 2016-07-22 00:00:00.000000000 Z
11
+ date: 2016-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jmespath