aws-sdk-apigateway 1.5.0 → 1.6.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e7d6736c0f8c18dd8d172920a3a2b64ddc617218
4
- data.tar.gz: 9a945bb603f64c516cac7b24e017d12214fd59ca
3
+ metadata.gz: 32dd66a417cb0ffcb831d383c6d74ea9f563aab9
4
+ data.tar.gz: 13f1c58992c5a9ec442c733c9f68dc827266251a
5
5
  SHA512:
6
- metadata.gz: c49946be1031463707f13c454a43d549253699550d5a93f8546261697c05234356cdf7180fb2af7c38e7ec4661ad68d68140ae26b6c5a266194b56ba10bfba4e
7
- data.tar.gz: aaab9c69a4ba897585b6002005fe44b537fe8bac088a37cafc34e1026291e47d4c75cba4e9d3f84fad8febb828f833625982d1527d1ac5c61684ced6e52f50ba
6
+ metadata.gz: 4c9c4fae6b7847ac07765a475dead9bb944fb95b5e0600602e6e44a15790c577b6ad4eb7a5b4042f098f88abc6fbe070e31f77e4ac9a788c0c239865dac03aae
7
+ data.tar.gz: a042b9c8786959e803536f51868a7e74b6f3f5e0a0e784e537417a4372667ffbf635d06599a35546a2349a1e9095634ab5d347b6afc2e9b9d3e0d8839c3b9ac5
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-apigateway/customizations'
42
42
  # @service
43
43
  module Aws::APIGateway
44
44
 
45
- GEM_VERSION = '1.5.0'
45
+ GEM_VERSION = '1.6.0'
46
46
 
47
47
  end
@@ -446,6 +446,10 @@ module Aws::APIGateway
446
446
  # alphanumeric and underscore characters, and the values must match
447
447
  # `[A-Za-z0-9-._~:/?#&=,]+`.
448
448
  #
449
+ # @option params [Types::DeploymentCanarySettings] :canary_settings
450
+ # The input configuration for the canary deployment when the deployment
451
+ # is a canary release deployment.
452
+ #
449
453
  # @return [Types::Deployment] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
450
454
  #
451
455
  # * {Types::Deployment#id #id} => String
@@ -465,6 +469,13 @@ module Aws::APIGateway
465
469
  # variables: {
466
470
  # "String" => "String",
467
471
  # },
472
+ # canary_settings: {
473
+ # percent_traffic: 1.0,
474
+ # stage_variable_overrides: {
475
+ # "String" => "String",
476
+ # },
477
+ # use_stage_cache: false,
478
+ # },
468
479
  # })
469
480
  #
470
481
  # @example Response structure
@@ -927,10 +938,11 @@ module Aws::APIGateway
927
938
  # The string identifier of the associated RestApi.
928
939
  #
929
940
  # @option params [required, String] :stage_name
930
- # The name for the Stage resource.
941
+ # \\\{Required\] The name for the Stage resource.
931
942
  #
932
943
  # @option params [required, String] :deployment_id
933
- # The identifier of the Deployment resource for the Stage resource.
944
+ # \[Required\] The identifier of the Deployment resource for the Stage
945
+ # resource.
934
946
  #
935
947
  # @option params [String] :description
936
948
  # The description of the Stage resource.
@@ -949,6 +961,9 @@ module Aws::APIGateway
949
961
  # @option params [String] :documentation_version
950
962
  # The version of the associated API documentation.
951
963
  #
964
+ # @option params [Types::CanarySettings] :canary_settings
965
+ # The canary deployment settings of this stage.
966
+ #
952
967
  # @return [Types::Stage] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
953
968
  #
954
969
  # * {Types::Stage#deployment_id #deployment_id} => String
@@ -962,6 +977,7 @@ module Aws::APIGateway
962
977
  # * {Types::Stage#variables #variables} => Hash<String,String>
963
978
  # * {Types::Stage#documentation_version #documentation_version} => String
964
979
  # * {Types::Stage#access_log_settings #access_log_settings} => Types::AccessLogSettings
980
+ # * {Types::Stage#canary_settings #canary_settings} => Types::CanarySettings
965
981
  # * {Types::Stage#created_date #created_date} => Time
966
982
  # * {Types::Stage#last_updated_date #last_updated_date} => Time
967
983
  #
@@ -978,6 +994,14 @@ module Aws::APIGateway
978
994
  # "String" => "String",
979
995
  # },
980
996
  # documentation_version: "String",
997
+ # canary_settings: {
998
+ # percent_traffic: 1.0,
999
+ # deployment_id: "String",
1000
+ # stage_variable_overrides: {
1001
+ # "String" => "String",
1002
+ # },
1003
+ # use_stage_cache: false,
1004
+ # },
981
1005
  # })
982
1006
  #
983
1007
  # @example Response structure
@@ -1005,6 +1029,11 @@ module Aws::APIGateway
1005
1029
  # resp.documentation_version #=> String
1006
1030
  # resp.access_log_settings.format #=> String
1007
1031
  # resp.access_log_settings.destination_arn #=> String
1032
+ # resp.canary_settings.percent_traffic #=> Float
1033
+ # resp.canary_settings.deployment_id #=> String
1034
+ # resp.canary_settings.stage_variable_overrides #=> Hash
1035
+ # resp.canary_settings.stage_variable_overrides["String"] #=> String
1036
+ # resp.canary_settings.use_stage_cache #=> Boolean
1008
1037
  # resp.created_date #=> Time
1009
1038
  # resp.last_updated_date #=> Time
1010
1039
  #
@@ -3486,6 +3515,7 @@ module Aws::APIGateway
3486
3515
  # * {Types::Stage#variables #variables} => Hash<String,String>
3487
3516
  # * {Types::Stage#documentation_version #documentation_version} => String
3488
3517
  # * {Types::Stage#access_log_settings #access_log_settings} => Types::AccessLogSettings
3518
+ # * {Types::Stage#canary_settings #canary_settings} => Types::CanarySettings
3489
3519
  # * {Types::Stage#created_date #created_date} => Time
3490
3520
  # * {Types::Stage#last_updated_date #last_updated_date} => Time
3491
3521
  #
@@ -3521,6 +3551,11 @@ module Aws::APIGateway
3521
3551
  # resp.documentation_version #=> String
3522
3552
  # resp.access_log_settings.format #=> String
3523
3553
  # resp.access_log_settings.destination_arn #=> String
3554
+ # resp.canary_settings.percent_traffic #=> Float
3555
+ # resp.canary_settings.deployment_id #=> String
3556
+ # resp.canary_settings.stage_variable_overrides #=> Hash
3557
+ # resp.canary_settings.stage_variable_overrides["String"] #=> String
3558
+ # resp.canary_settings.use_stage_cache #=> Boolean
3524
3559
  # resp.created_date #=> Time
3525
3560
  # resp.last_updated_date #=> Time
3526
3561
  #
@@ -3576,6 +3611,11 @@ module Aws::APIGateway
3576
3611
  # resp.item[0].documentation_version #=> String
3577
3612
  # resp.item[0].access_log_settings.format #=> String
3578
3613
  # resp.item[0].access_log_settings.destination_arn #=> String
3614
+ # resp.item[0].canary_settings.percent_traffic #=> Float
3615
+ # resp.item[0].canary_settings.deployment_id #=> String
3616
+ # resp.item[0].canary_settings.stage_variable_overrides #=> Hash
3617
+ # resp.item[0].canary_settings.stage_variable_overrides["String"] #=> String
3618
+ # resp.item[0].canary_settings.use_stage_cache #=> Boolean
3579
3619
  # resp.item[0].created_date #=> Time
3580
3620
  # resp.item[0].last_updated_date #=> Time
3581
3621
  #
@@ -5858,6 +5898,7 @@ module Aws::APIGateway
5858
5898
  # * {Types::Stage#variables #variables} => Hash<String,String>
5859
5899
  # * {Types::Stage#documentation_version #documentation_version} => String
5860
5900
  # * {Types::Stage#access_log_settings #access_log_settings} => Types::AccessLogSettings
5901
+ # * {Types::Stage#canary_settings #canary_settings} => Types::CanarySettings
5861
5902
  # * {Types::Stage#created_date #created_date} => Time
5862
5903
  # * {Types::Stage#last_updated_date #last_updated_date} => Time
5863
5904
  #
@@ -5901,6 +5942,11 @@ module Aws::APIGateway
5901
5942
  # resp.documentation_version #=> String
5902
5943
  # resp.access_log_settings.format #=> String
5903
5944
  # resp.access_log_settings.destination_arn #=> String
5945
+ # resp.canary_settings.percent_traffic #=> Float
5946
+ # resp.canary_settings.deployment_id #=> String
5947
+ # resp.canary_settings.stage_variable_overrides #=> Hash
5948
+ # resp.canary_settings.stage_variable_overrides["String"] #=> String
5949
+ # resp.canary_settings.use_stage_cache #=> Boolean
5904
5950
  # resp.created_date #=> Time
5905
5951
  # resp.last_updated_date #=> Time
5906
5952
  #
@@ -6034,7 +6080,7 @@ module Aws::APIGateway
6034
6080
  params: params,
6035
6081
  config: config)
6036
6082
  context[:gem_name] = 'aws-sdk-apigateway'
6037
- context[:gem_version] = '1.5.0'
6083
+ context[:gem_version] = '1.6.0'
6038
6084
  Seahorse::Client::Request.new(handlers, context)
6039
6085
  end
6040
6086
 
@@ -28,6 +28,7 @@ module Aws::APIGateway
28
28
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
29
29
  CacheClusterSize = Shapes::StringShape.new(name: 'CacheClusterSize')
30
30
  CacheClusterStatus = Shapes::StringShape.new(name: 'CacheClusterStatus')
31
+ CanarySettings = Shapes::StructureShape.new(name: 'CanarySettings')
31
32
  ClientCertificate = Shapes::StructureShape.new(name: 'ClientCertificate')
32
33
  ClientCertificates = Shapes::StructureShape.new(name: 'ClientCertificates')
33
34
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
@@ -67,6 +68,7 @@ module Aws::APIGateway
67
68
  DeleteUsagePlanKeyRequest = Shapes::StructureShape.new(name: 'DeleteUsagePlanKeyRequest')
68
69
  DeleteUsagePlanRequest = Shapes::StructureShape.new(name: 'DeleteUsagePlanRequest')
69
70
  Deployment = Shapes::StructureShape.new(name: 'Deployment')
71
+ DeploymentCanarySettings = Shapes::StructureShape.new(name: 'DeploymentCanarySettings')
70
72
  Deployments = Shapes::StructureShape.new(name: 'Deployments')
71
73
  DocumentationPart = Shapes::StructureShape.new(name: 'DocumentationPart')
72
74
  DocumentationPartIds = Shapes::StructureShape.new(name: 'DocumentationPartIds')
@@ -311,6 +313,12 @@ module Aws::APIGateway
311
313
  BasePathMappings.add_member(:items, Shapes::ShapeRef.new(shape: ListOfBasePathMapping, location_name: "item"))
312
314
  BasePathMappings.struct_class = Types::BasePathMappings
313
315
 
316
+ CanarySettings.add_member(:percent_traffic, Shapes::ShapeRef.new(shape: Double, location_name: "percentTraffic"))
317
+ CanarySettings.add_member(:deployment_id, Shapes::ShapeRef.new(shape: String, location_name: "deploymentId"))
318
+ CanarySettings.add_member(:stage_variable_overrides, Shapes::ShapeRef.new(shape: MapOfStringToString, location_name: "stageVariableOverrides"))
319
+ CanarySettings.add_member(:use_stage_cache, Shapes::ShapeRef.new(shape: Boolean, location_name: "useStageCache"))
320
+ CanarySettings.struct_class = Types::CanarySettings
321
+
314
322
  ClientCertificate.add_member(:client_certificate_id, Shapes::ShapeRef.new(shape: String, location_name: "clientCertificateId"))
315
323
  ClientCertificate.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
316
324
  ClientCertificate.add_member(:pem_encoded_certificate, Shapes::ShapeRef.new(shape: String, location_name: "pemEncodedCertificate"))
@@ -356,6 +364,7 @@ module Aws::APIGateway
356
364
  CreateDeploymentRequest.add_member(:cache_cluster_enabled, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "cacheClusterEnabled"))
357
365
  CreateDeploymentRequest.add_member(:cache_cluster_size, Shapes::ShapeRef.new(shape: CacheClusterSize, location_name: "cacheClusterSize"))
358
366
  CreateDeploymentRequest.add_member(:variables, Shapes::ShapeRef.new(shape: MapOfStringToString, location_name: "variables"))
367
+ CreateDeploymentRequest.add_member(:canary_settings, Shapes::ShapeRef.new(shape: DeploymentCanarySettings, location_name: "canarySettings"))
359
368
  CreateDeploymentRequest.struct_class = Types::CreateDeploymentRequest
360
369
 
361
370
  CreateDocumentationPartRequest.add_member(:rest_api_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "restapi_id"))
@@ -414,6 +423,7 @@ module Aws::APIGateway
414
423
  CreateStageRequest.add_member(:cache_cluster_size, Shapes::ShapeRef.new(shape: CacheClusterSize, location_name: "cacheClusterSize"))
415
424
  CreateStageRequest.add_member(:variables, Shapes::ShapeRef.new(shape: MapOfStringToString, location_name: "variables"))
416
425
  CreateStageRequest.add_member(:documentation_version, Shapes::ShapeRef.new(shape: String, location_name: "documentationVersion"))
426
+ CreateStageRequest.add_member(:canary_settings, Shapes::ShapeRef.new(shape: CanarySettings, location_name: "canarySettings"))
417
427
  CreateStageRequest.struct_class = Types::CreateStageRequest
418
428
 
419
429
  CreateUsagePlanKeyRequest.add_member(:usage_plan_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "usageplanId"))
@@ -515,6 +525,11 @@ module Aws::APIGateway
515
525
  Deployment.add_member(:api_summary, Shapes::ShapeRef.new(shape: PathToMapOfMethodSnapshot, location_name: "apiSummary"))
516
526
  Deployment.struct_class = Types::Deployment
517
527
 
528
+ DeploymentCanarySettings.add_member(:percent_traffic, Shapes::ShapeRef.new(shape: Double, location_name: "percentTraffic"))
529
+ DeploymentCanarySettings.add_member(:stage_variable_overrides, Shapes::ShapeRef.new(shape: MapOfStringToString, location_name: "stageVariableOverrides"))
530
+ DeploymentCanarySettings.add_member(:use_stage_cache, Shapes::ShapeRef.new(shape: Boolean, location_name: "useStageCache"))
531
+ DeploymentCanarySettings.struct_class = Types::DeploymentCanarySettings
532
+
518
533
  Deployments.add_member(:position, Shapes::ShapeRef.new(shape: String, location_name: "position"))
519
534
  Deployments.add_member(:items, Shapes::ShapeRef.new(shape: ListOfDeployment, location_name: "item"))
520
535
  Deployments.struct_class = Types::Deployments
@@ -1115,6 +1130,7 @@ module Aws::APIGateway
1115
1130
  Stage.add_member(:variables, Shapes::ShapeRef.new(shape: MapOfStringToString, location_name: "variables"))
1116
1131
  Stage.add_member(:documentation_version, Shapes::ShapeRef.new(shape: String, location_name: "documentationVersion"))
1117
1132
  Stage.add_member(:access_log_settings, Shapes::ShapeRef.new(shape: AccessLogSettings, location_name: "accessLogSettings"))
1133
+ Stage.add_member(:canary_settings, Shapes::ShapeRef.new(shape: CanarySettings, location_name: "canarySettings"))
1118
1134
  Stage.add_member(:created_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdDate"))
1119
1135
  Stage.add_member(:last_updated_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedDate"))
1120
1136
  Stage.struct_class = Types::Stage
@@ -435,6 +435,48 @@ module Aws::APIGateway
435
435
  include Aws::Structure
436
436
  end
437
437
 
438
+ # Configuration settings of a canary deployment.
439
+ #
440
+ # @note When making an API call, you may pass CanarySettings
441
+ # data as a hash:
442
+ #
443
+ # {
444
+ # percent_traffic: 1.0,
445
+ # deployment_id: "String",
446
+ # stage_variable_overrides: {
447
+ # "String" => "String",
448
+ # },
449
+ # use_stage_cache: false,
450
+ # }
451
+ #
452
+ # @!attribute [rw] percent_traffic
453
+ # The percent (0-100) of traffic diverted to a canary deployment.
454
+ # @return [Float]
455
+ #
456
+ # @!attribute [rw] deployment_id
457
+ # The ID of the canary deployment.
458
+ # @return [String]
459
+ #
460
+ # @!attribute [rw] stage_variable_overrides
461
+ # Stage variables overridden for a canary release deployment,
462
+ # including new stage variables introduced in the canary. These stage
463
+ # variables are represented as a string-to-string map between stage
464
+ # variable names and their values.
465
+ # @return [Hash<String,String>]
466
+ #
467
+ # @!attribute [rw] use_stage_cache
468
+ # A Boolean flag to indicate whether the canary deployment uses the
469
+ # stage cache or not.
470
+ # @return [Boolean]
471
+ #
472
+ class CanarySettings < Struct.new(
473
+ :percent_traffic,
474
+ :deployment_id,
475
+ :stage_variable_overrides,
476
+ :use_stage_cache)
477
+ include Aws::Structure
478
+ end
479
+
438
480
  # Represents a client certificate used to configure client-side SSL
439
481
  # authentication while sending requests to the integration endpoint.
440
482
  #
@@ -748,6 +790,13 @@ module Aws::APIGateway
748
790
  # variables: {
749
791
  # "String" => "String",
750
792
  # },
793
+ # canary_settings: {
794
+ # percent_traffic: 1.0,
795
+ # stage_variable_overrides: {
796
+ # "String" => "String",
797
+ # },
798
+ # use_stage_cache: false,
799
+ # },
751
800
  # }
752
801
  #
753
802
  # @!attribute [rw] rest_api_id
@@ -785,6 +834,11 @@ module Aws::APIGateway
785
834
  # `[A-Za-z0-9-._~:/?#&=,]+`.
786
835
  # @return [Hash<String,String>]
787
836
  #
837
+ # @!attribute [rw] canary_settings
838
+ # The input configuration for the canary deployment when the
839
+ # deployment is a canary release deployment.
840
+ # @return [Types::DeploymentCanarySettings]
841
+ #
788
842
  class CreateDeploymentRequest < Struct.new(
789
843
  :rest_api_id,
790
844
  :stage_name,
@@ -792,7 +846,8 @@ module Aws::APIGateway
792
846
  :description,
793
847
  :cache_cluster_enabled,
794
848
  :cache_cluster_size,
795
- :variables)
849
+ :variables,
850
+ :canary_settings)
796
851
  include Aws::Structure
797
852
  end
798
853
 
@@ -1141,6 +1196,14 @@ module Aws::APIGateway
1141
1196
  # "String" => "String",
1142
1197
  # },
1143
1198
  # documentation_version: "String",
1199
+ # canary_settings: {
1200
+ # percent_traffic: 1.0,
1201
+ # deployment_id: "String",
1202
+ # stage_variable_overrides: {
1203
+ # "String" => "String",
1204
+ # },
1205
+ # use_stage_cache: false,
1206
+ # },
1144
1207
  # }
1145
1208
  #
1146
1209
  # @!attribute [rw] rest_api_id
@@ -1148,11 +1211,12 @@ module Aws::APIGateway
1148
1211
  # @return [String]
1149
1212
  #
1150
1213
  # @!attribute [rw] stage_name
1151
- # The name for the Stage resource.
1214
+ # \\\{Required\] The name for the Stage resource.
1152
1215
  # @return [String]
1153
1216
  #
1154
1217
  # @!attribute [rw] deployment_id
1155
- # The identifier of the Deployment resource for the Stage resource.
1218
+ # \[Required\] The identifier of the Deployment resource for the Stage
1219
+ # resource.
1156
1220
  # @return [String]
1157
1221
  #
1158
1222
  # @!attribute [rw] description
@@ -1177,6 +1241,10 @@ module Aws::APIGateway
1177
1241
  # The version of the associated API documentation.
1178
1242
  # @return [String]
1179
1243
  #
1244
+ # @!attribute [rw] canary_settings
1245
+ # The canary deployment settings of this stage.
1246
+ # @return [Types::CanarySettings]
1247
+ #
1180
1248
  class CreateStageRequest < Struct.new(
1181
1249
  :rest_api_id,
1182
1250
  :stage_name,
@@ -1185,7 +1253,8 @@ module Aws::APIGateway
1185
1253
  :cache_cluster_enabled,
1186
1254
  :cache_cluster_size,
1187
1255
  :variables,
1188
- :documentation_version)
1256
+ :documentation_version,
1257
+ :canary_settings)
1189
1258
  include Aws::Structure
1190
1259
  end
1191
1260
 
@@ -1835,6 +1904,44 @@ module Aws::APIGateway
1835
1904
  include Aws::Structure
1836
1905
  end
1837
1906
 
1907
+ # The input configuration for a canary deployment.
1908
+ #
1909
+ # @note When making an API call, you may pass DeploymentCanarySettings
1910
+ # data as a hash:
1911
+ #
1912
+ # {
1913
+ # percent_traffic: 1.0,
1914
+ # stage_variable_overrides: {
1915
+ # "String" => "String",
1916
+ # },
1917
+ # use_stage_cache: false,
1918
+ # }
1919
+ #
1920
+ # @!attribute [rw] percent_traffic
1921
+ # The percentage (0.0-100.0) of traffic routed to the canary
1922
+ # deployment.
1923
+ # @return [Float]
1924
+ #
1925
+ # @!attribute [rw] stage_variable_overrides
1926
+ # A stage variable overrides used for the canary release deployment.
1927
+ # They can override existing stage variables or add new stage
1928
+ # variables for the canary release deployment. These stage variables
1929
+ # are represented as a string-to-string map between stage variable
1930
+ # names and their values.
1931
+ # @return [Hash<String,String>]
1932
+ #
1933
+ # @!attribute [rw] use_stage_cache
1934
+ # A Boolean flag to indicate whether the canary release deployment
1935
+ # uses the stage cache or not.
1936
+ # @return [Boolean]
1937
+ #
1938
+ class DeploymentCanarySettings < Struct.new(
1939
+ :percent_traffic,
1940
+ :stage_variable_overrides,
1941
+ :use_stage_cache)
1942
+ include Aws::Structure
1943
+ end
1944
+
1838
1945
  # Represents a collection resource that contains zero or more references
1839
1946
  # to your existing deployments, and links that guide you on how to
1840
1947
  # interact with your collection. The collection offers a paginated view
@@ -4718,7 +4825,7 @@ module Aws::APIGateway
4718
4825
  #
4719
4826
  # @!attribute [rw] op
4720
4827
  # An update operation to be performed with this PATCH request. The
4721
- # valid value can be "add", "remove", or "replace". Not all
4828
+ # valid value can be `add`, `remove`, `replace` or `copy`. Not all
4722
4829
  # valid operations are supported for a given resource. Support of the
4723
4830
  # operations depends on specific operational contexts. Attempts to
4724
4831
  # apply an unsupported operation on a resource will return an error
@@ -4743,10 +4850,11 @@ module Aws::APIGateway
4743
4850
  # @return [String]
4744
4851
  #
4745
4852
  # @!attribute [rw] value
4746
- # The new target value of the update operation. When using AWS CLI to
4747
- # update a property of a JSON value, enclose the JSON object with a
4748
- # pair of single quotes in a Linux shell, e.g., '\\\{"a": ...\\}'.
4749
- # In a Windows shell, see [Using JSON for Parameters][1].
4853
+ # The new target value of the update operation. It is applicable for
4854
+ # the `add` or `replace` operation. When using AWS CLI to update a
4855
+ # property of a JSON value, enclose the JSON object with a pair of
4856
+ # single quotes in a Linux shell, e.g., '\\\{"a": ...\\}'. In a
4857
+ # Windows shell, see [Using JSON for Parameters][1].
4750
4858
  #
4751
4859
  #
4752
4860
  #
@@ -4754,7 +4862,13 @@ module Aws::APIGateway
4754
4862
  # @return [String]
4755
4863
  #
4756
4864
  # @!attribute [rw] from
4757
- # Not supported.
4865
+ # The `copy` update operation's source as identified by a
4866
+ # `JSON-Pointer` value referencing the location within the targeted
4867
+ # resource to copy the value from. For example, to promote a canary
4868
+ # deployment, you copy the canary deployment ID to the affiliated
4869
+ # deployment ID by calling a PATCH request on a Stage resource with
4870
+ # `"op":"copy"`, `"from":"/canarySettings/deploymentId"` and
4871
+ # `"path":"/deploymentId"`.
4758
4872
  # @return [String]
4759
4873
  #
4760
4874
  class PatchOperation < Struct.new(
@@ -5734,9 +5848,13 @@ module Aws::APIGateway
5734
5848
  # @return [String]
5735
5849
  #
5736
5850
  # @!attribute [rw] access_log_settings
5737
- # The access log settings in this stage.
5851
+ # Settings for logging access in this stage.
5738
5852
  # @return [Types::AccessLogSettings]
5739
5853
  #
5854
+ # @!attribute [rw] canary_settings
5855
+ # Settings for the canary deployment in this stage.
5856
+ # @return [Types::CanarySettings]
5857
+ #
5740
5858
  # @!attribute [rw] created_date
5741
5859
  # The timestamp when the stage was created.
5742
5860
  # @return [Time]
@@ -5757,6 +5875,7 @@ module Aws::APIGateway
5757
5875
  :variables,
5758
5876
  :documentation_version,
5759
5877
  :access_log_settings,
5878
+ :canary_settings,
5760
5879
  :created_date,
5761
5880
  :last_updated_date)
5762
5881
  include Aws::Structure
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-apigateway
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-22 00:00:00.000000000 Z
11
+ date: 2017-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core