aws-sdk-prometheusservice 1.26.0 → 1.28.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3bc2efcc19a92035ecfc3376c75e359d273d8cac47f25a27e3a496c43c8f7ae8
4
- data.tar.gz: 95597a1fc50c8ffffccb886f913674fd79a222ad69a6ab905e03b6ca014f7c21
3
+ metadata.gz: ff7d32fc904d6c7941d5790e092d7cd366d597633150a487fd58b8b47c22cefe
4
+ data.tar.gz: 93d50fc1df0e7b91dc59162fcba5d20efaaf951f31bf438bee3a41b13335a18d
5
5
  SHA512:
6
- metadata.gz: 1d8f7c17fa9588216eb911871139eabc5fb62022a9c524a50a0761b054e5e6be2c9185c4a42a8d5d866bb139a8fd8e2d235c62dd014410764f5d3b833c6e2ca2
7
- data.tar.gz: a882932d078823c45580eb915304dc160e9199ab29ecb9d061aec4cbffb9a51609b1ca1de163cc99907a793af37db387c6f150ff75d4e3a6e98e44aa27c01966
6
+ metadata.gz: b8b93abb4d93eb607e21f8b247a59bbd6cc1cc0b57df93b5a5a36761b5b5cfa25ed6ba53e1f01cc13800e38d4f71568a2c34bc91d0e947e745cc7f28398e0ff9
7
+ data.tar.gz: 860bc1f12218079059aee2c6f887f85b6de831580ef6c23df9961b6cbd9e658edfc8e27c416e65e5cb8cd2d0ac8b6cce9b057d67aa27b4610e86d0a5bf3217f1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.28.0 (2023-12-21)
5
+ ------------------
6
+
7
+ * Feature - This release updates Amazon Managed Service for Prometheus APIs to support customer managed KMS keys.
8
+
9
+ 1.27.0 (2023-11-28)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.26.0 (2023-11-27)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.26.0
1
+ 1.28.0
@@ -621,12 +621,17 @@ module Aws::PrometheusService
621
621
  # @option params [Hash<String,String>] :tags
622
622
  # Optional, user-provided tags for this workspace.
623
623
  #
624
+ # @option params [String] :kms_key_arn
625
+ # Optional, customer managed KMS key used to encrypt data for this
626
+ # workspace
627
+ #
624
628
  # @return [Types::CreateWorkspaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
625
629
  #
626
630
  # * {Types::CreateWorkspaceResponse#workspace_id #workspace_id} => String
627
631
  # * {Types::CreateWorkspaceResponse#arn #arn} => String
628
632
  # * {Types::CreateWorkspaceResponse#status #status} => Types::WorkspaceStatus
629
633
  # * {Types::CreateWorkspaceResponse#tags #tags} => Hash&lt;String,String&gt;
634
+ # * {Types::CreateWorkspaceResponse#kms_key_arn #kms_key_arn} => String
630
635
  #
631
636
  # @example Request syntax with placeholder values
632
637
  #
@@ -636,6 +641,7 @@ module Aws::PrometheusService
636
641
  # tags: {
637
642
  # "TagKey" => "TagValue",
638
643
  # },
644
+ # kms_key_arn: "KmsKeyArn",
639
645
  # })
640
646
  #
641
647
  # @example Response structure
@@ -645,6 +651,7 @@ module Aws::PrometheusService
645
651
  # resp.status.status_code #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATION_FAILED"
646
652
  # resp.tags #=> Hash
647
653
  # resp.tags["TagKey"] #=> String
654
+ # resp.kms_key_arn #=> String
648
655
  #
649
656
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateWorkspace AWS API Documentation
650
657
  #
@@ -998,6 +1005,7 @@ module Aws::PrometheusService
998
1005
  # resp.workspace.created_at #=> Time
999
1006
  # resp.workspace.tags #=> Hash
1000
1007
  # resp.workspace.tags["TagKey"] #=> String
1008
+ # resp.workspace.kms_key_arn #=> String
1001
1009
  #
1002
1010
  #
1003
1011
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -1219,6 +1227,7 @@ module Aws::PrometheusService
1219
1227
  # resp.workspaces[0].created_at #=> Time
1220
1228
  # resp.workspaces[0].tags #=> Hash
1221
1229
  # resp.workspaces[0].tags["TagKey"] #=> String
1230
+ # resp.workspaces[0].kms_key_arn #=> String
1222
1231
  # resp.next_token #=> String
1223
1232
  #
1224
1233
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ListWorkspaces AWS API Documentation
@@ -1467,7 +1476,7 @@ module Aws::PrometheusService
1467
1476
  params: params,
1468
1477
  config: config)
1469
1478
  context[:gem_name] = 'aws-sdk-prometheusservice'
1470
- context[:gem_version] = '1.26.0'
1479
+ context[:gem_version] = '1.28.0'
1471
1480
  Seahorse::Client::Request.new(handlers, context)
1472
1481
  end
1473
1482
 
@@ -59,6 +59,7 @@ module Aws::PrometheusService
59
59
  IdempotencyToken = Shapes::StringShape.new(name: 'IdempotencyToken')
60
60
  Integer = Shapes::IntegerShape.new(name: 'Integer')
61
61
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
62
+ KmsKeyArn = Shapes::StringShape.new(name: 'KmsKeyArn')
62
63
  ListRuleGroupsNamespacesRequest = Shapes::StructureShape.new(name: 'ListRuleGroupsNamespacesRequest')
63
64
  ListRuleGroupsNamespacesRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListRuleGroupsNamespacesRequestMaxResultsInteger')
64
65
  ListRuleGroupsNamespacesResponse = Shapes::StructureShape.new(name: 'ListRuleGroupsNamespacesResponse')
@@ -200,12 +201,14 @@ module Aws::PrometheusService
200
201
  CreateWorkspaceRequest.add_member(:alias, Shapes::ShapeRef.new(shape: WorkspaceAlias, location_name: "alias"))
201
202
  CreateWorkspaceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
202
203
  CreateWorkspaceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
204
+ CreateWorkspaceRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
203
205
  CreateWorkspaceRequest.struct_class = Types::CreateWorkspaceRequest
204
206
 
205
207
  CreateWorkspaceResponse.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "workspaceId"))
206
208
  CreateWorkspaceResponse.add_member(:arn, Shapes::ShapeRef.new(shape: WorkspaceArn, required: true, location_name: "arn"))
207
209
  CreateWorkspaceResponse.add_member(:status, Shapes::ShapeRef.new(shape: WorkspaceStatus, required: true, location_name: "status"))
208
210
  CreateWorkspaceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
211
+ CreateWorkspaceResponse.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
209
212
  CreateWorkspaceResponse.struct_class = Types::CreateWorkspaceResponse
210
213
 
211
214
  DeleteAlertManagerDefinitionRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location: "uri", location_name: "workspaceId"))
@@ -491,6 +494,7 @@ module Aws::PrometheusService
491
494
  WorkspaceDescription.add_member(:prometheus_endpoint, Shapes::ShapeRef.new(shape: Uri, location_name: "prometheusEndpoint"))
492
495
  WorkspaceDescription.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
493
496
  WorkspaceDescription.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
497
+ WorkspaceDescription.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
494
498
  WorkspaceDescription.struct_class = Types::WorkspaceDescription
495
499
 
496
500
  WorkspaceStatus.add_member(:status_code, Shapes::ShapeRef.new(shape: WorkspaceStatusCode, required: true, location_name: "statusCode"))
@@ -502,6 +506,7 @@ module Aws::PrometheusService
502
506
  WorkspaceSummary.add_member(:status, Shapes::ShapeRef.new(shape: WorkspaceStatus, required: true, location_name: "status"))
503
507
  WorkspaceSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
504
508
  WorkspaceSummary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
509
+ WorkspaceSummary.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
505
510
  WorkspaceSummary.struct_class = Types::WorkspaceSummary
506
511
 
507
512
  WorkspaceSummaryList.member = Shapes::ShapeRef.new(shape: WorkspaceSummary)
@@ -25,16 +25,17 @@ module Aws::PrometheusService
25
25
  # @api private
26
26
  class Handler < Seahorse::Client::Handler
27
27
  def call(context)
28
- # If endpoint was discovered, do not resolve or apply the endpoint.
29
28
  unless context[:discovered_endpoint]
30
29
  params = parameters_for_operation(context)
31
30
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
31
 
33
32
  context.http_request.endpoint = endpoint.url
34
33
  apply_endpoint_headers(context, endpoint.headers)
34
+
35
+ context[:endpoint_params] = params
36
+ context[:endpoint_properties] = endpoint.properties
35
37
  end
36
38
 
37
- context[:endpoint_params] = params
38
39
  context[:auth_scheme] =
39
40
  Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
41
 
@@ -356,12 +356,18 @@ module Aws::PrometheusService
356
356
  # Optional, user-provided tags for this workspace.
357
357
  # @return [Hash<String,String>]
358
358
  #
359
+ # @!attribute [rw] kms_key_arn
360
+ # Optional, customer managed KMS key used to encrypt data for this
361
+ # workspace
362
+ # @return [String]
363
+ #
359
364
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateWorkspaceRequest AWS API Documentation
360
365
  #
361
366
  class CreateWorkspaceRequest < Struct.new(
362
367
  :alias,
363
368
  :client_token,
364
- :tags)
369
+ :tags,
370
+ :kms_key_arn)
365
371
  SENSITIVE = []
366
372
  include Aws::Structure
367
373
  end
@@ -385,13 +391,18 @@ module Aws::PrometheusService
385
391
  # The tags of this workspace.
386
392
  # @return [Hash<String,String>]
387
393
  #
394
+ # @!attribute [rw] kms_key_arn
395
+ # Customer managed KMS key ARN for this workspace
396
+ # @return [String]
397
+ #
388
398
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateWorkspaceResponse AWS API Documentation
389
399
  #
390
400
  class CreateWorkspaceResponse < Struct.new(
391
401
  :workspace_id,
392
402
  :arn,
393
403
  :status,
394
- :tags)
404
+ :tags,
405
+ :kms_key_arn)
395
406
  SENSITIVE = []
396
407
  include Aws::Structure
397
408
  end
@@ -1677,6 +1688,10 @@ module Aws::PrometheusService
1677
1688
  # The tags of this workspace.
1678
1689
  # @return [Hash<String,String>]
1679
1690
  #
1691
+ # @!attribute [rw] kms_key_arn
1692
+ # The customer managed KMS key of this workspace.
1693
+ # @return [String]
1694
+ #
1680
1695
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/WorkspaceDescription AWS API Documentation
1681
1696
  #
1682
1697
  class WorkspaceDescription < Struct.new(
@@ -1686,7 +1701,8 @@ module Aws::PrometheusService
1686
1701
  :status,
1687
1702
  :prometheus_endpoint,
1688
1703
  :created_at,
1689
- :tags)
1704
+ :tags,
1705
+ :kms_key_arn)
1690
1706
  SENSITIVE = []
1691
1707
  include Aws::Structure
1692
1708
  end
@@ -1731,6 +1747,10 @@ module Aws::PrometheusService
1731
1747
  # The tags of this workspace.
1732
1748
  # @return [Hash<String,String>]
1733
1749
  #
1750
+ # @!attribute [rw] kms_key_arn
1751
+ # Customer managed KMS key ARN for this workspace
1752
+ # @return [String]
1753
+ #
1734
1754
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/WorkspaceSummary AWS API Documentation
1735
1755
  #
1736
1756
  class WorkspaceSummary < Struct.new(
@@ -1739,7 +1759,8 @@ module Aws::PrometheusService
1739
1759
  :arn,
1740
1760
  :status,
1741
1761
  :created_at,
1742
- :tags)
1762
+ :tags,
1763
+ :kms_key_arn)
1743
1764
  SENSITIVE = []
1744
1765
  include Aws::Structure
1745
1766
  end
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-prometheusservice/customizations'
53
53
  # @!group service
54
54
  module Aws::PrometheusService
55
55
 
56
- GEM_VERSION = '1.26.0'
56
+ GEM_VERSION = '1.28.0'
57
57
 
58
58
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-prometheusservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.26.0
4
+ version: 1.28.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-27 00:00:00.000000000 Z
11
+ date: 2023-12-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core