aws-sdk-prometheusservice 1.20.0 → 1.21.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
  SHA256:
3
- metadata.gz: daf458a9e669f215ccd887cb9729cd25ff7eaf7268e5c0d1a6b9eb633f375e82
4
- data.tar.gz: df00cdb8ba57bdd4b6dfa825a5b153f3b187f10869ff0be6a2245edde19c2194
3
+ metadata.gz: b85e36b01fbab76ee2c7b62f75009b04154e5903f8e2a77c01f3db9ebb5f63f6
4
+ data.tar.gz: babfcc87d3df583f1078dac2f51fa54298db91e82e78067de3662c1343523636
5
5
  SHA512:
6
- metadata.gz: e474ec9b52391919f1474d2fa08b1c91cd06f527f816adf913df57edbef933169d93204bee436a571ef369c10f179fbafaab3b1c7e2ec31219b91a443255b719
7
- data.tar.gz: 5f1d6f532fbce0e0c5395c62b6f5d1a100f04b6b054f932601e908ce99a9e01a99762a56bb9a712e348af568bbcb4b8d8ecf047d643b4cbc86b510d1dbfe1eaa
6
+ metadata.gz: 76015d6631998f02d682452dbbb9a502122f0377a6527f5ad9c64db8be28020b39b3cbafe1aa26e1c7753730e71c25cbd779d17664007bc834ef6a68a112d98c
7
+ data.tar.gz: 3ae91995de77fb5f03430050a2d583f8ce041700fd48e446fe629e9a737613abb6968e15b753c1b3b89991152643c1d409bbb0d8b6c75f9081006e439027fe10
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.21.0 (2023-06-30)
5
+ ------------------
6
+
7
+ * Feature - AWS SDK service model generation tool version upgrade.
8
+
4
9
  1.20.0 (2023-06-28)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.20.0
1
+ 1.21.0
@@ -375,6 +375,13 @@ module Aws::PrometheusService
375
375
 
376
376
  # Create an alert manager definition.
377
377
  #
378
+ # @option params [required, String] :workspace_id
379
+ # The ID of the workspace in which to create the alert manager
380
+ # definition.
381
+ #
382
+ # @option params [required, String, StringIO, File] :data
383
+ # The alert manager definition data.
384
+ #
378
385
  # @option params [String] :client_token
379
386
  # Optional, unique, case-sensitive, user-provided identifier to ensure
380
387
  # the idempotency of the request.
@@ -382,13 +389,6 @@ module Aws::PrometheusService
382
389
  # **A suitable default value is auto-generated.** You should normally
383
390
  # not need to pass this option.**
384
391
  #
385
- # @option params [required, String, StringIO, File] :data
386
- # The alert manager definition data.
387
- #
388
- # @option params [required, String] :workspace_id
389
- # The ID of the workspace in which to create the alert manager
390
- # definition.
391
- #
392
392
  # @return [Types::CreateAlertManagerDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
393
393
  #
394
394
  # * {Types::CreateAlertManagerDefinitionResponse#status #status} => Types::AlertManagerDefinitionStatus
@@ -396,9 +396,9 @@ module Aws::PrometheusService
396
396
  # @example Request syntax with placeholder values
397
397
  #
398
398
  # resp = client.create_alert_manager_definition({
399
- # client_token: "IdempotencyToken",
400
- # data: "data", # required
401
399
  # workspace_id: "WorkspaceId", # required
400
+ # data: "data", # required
401
+ # client_token: "IdempotencyToken",
402
402
  # })
403
403
  #
404
404
  # @example Response structure
@@ -417,6 +417,13 @@ module Aws::PrometheusService
417
417
 
418
418
  # Create logging configuration.
419
419
  #
420
+ # @option params [required, String] :workspace_id
421
+ # The ID of the workspace to vend logs to.
422
+ #
423
+ # @option params [required, String] :log_group_arn
424
+ # The ARN of the CW log group to which the vended log data will be
425
+ # published.
426
+ #
420
427
  # @option params [String] :client_token
421
428
  # Optional, unique, case-sensitive, user-provided identifier to ensure
422
429
  # the idempotency of the request.
@@ -424,13 +431,6 @@ module Aws::PrometheusService
424
431
  # **A suitable default value is auto-generated.** You should normally
425
432
  # not need to pass this option.**
426
433
  #
427
- # @option params [required, String] :log_group_arn
428
- # The ARN of the CW log group to which the vended log data will be
429
- # published.
430
- #
431
- # @option params [required, String] :workspace_id
432
- # The ID of the workspace to vend logs to.
433
- #
434
434
  # @return [Types::CreateLoggingConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
435
435
  #
436
436
  # * {Types::CreateLoggingConfigurationResponse#status #status} => Types::LoggingConfigurationStatus
@@ -438,9 +438,9 @@ module Aws::PrometheusService
438
438
  # @example Request syntax with placeholder values
439
439
  #
440
440
  # resp = client.create_logging_configuration({
441
- # client_token: "IdempotencyToken",
442
- # log_group_arn: "LogGroupArn", # required
443
441
  # workspace_id: "WorkspaceId", # required
442
+ # log_group_arn: "LogGroupArn", # required
443
+ # client_token: "IdempotencyToken",
444
444
  # })
445
445
  #
446
446
  # @example Response structure
@@ -459,6 +459,15 @@ module Aws::PrometheusService
459
459
 
460
460
  # Create a rule group namespace.
461
461
  #
462
+ # @option params [required, String] :workspace_id
463
+ # The ID of the workspace in which to create the rule group namespace.
464
+ #
465
+ # @option params [required, String] :name
466
+ # The rule groups namespace name.
467
+ #
468
+ # @option params [required, String, StringIO, File] :data
469
+ # The namespace data that define the rule groups.
470
+ #
462
471
  # @option params [String] :client_token
463
472
  # Optional, unique, case-sensitive, user-provided identifier to ensure
464
473
  # the idempotency of the request.
@@ -466,41 +475,32 @@ module Aws::PrometheusService
466
475
  # **A suitable default value is auto-generated.** You should normally
467
476
  # not need to pass this option.**
468
477
  #
469
- # @option params [required, String, StringIO, File] :data
470
- # The namespace data that define the rule groups.
471
- #
472
- # @option params [required, String] :name
473
- # The rule groups namespace name.
474
- #
475
478
  # @option params [Hash<String,String>] :tags
476
479
  # Optional, user-provided tags for this rule groups namespace.
477
480
  #
478
- # @option params [required, String] :workspace_id
479
- # The ID of the workspace in which to create the rule group namespace.
480
- #
481
481
  # @return [Types::CreateRuleGroupsNamespaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
482
482
  #
483
- # * {Types::CreateRuleGroupsNamespaceResponse#arn #arn} => String
484
483
  # * {Types::CreateRuleGroupsNamespaceResponse#name #name} => String
484
+ # * {Types::CreateRuleGroupsNamespaceResponse#arn #arn} => String
485
485
  # * {Types::CreateRuleGroupsNamespaceResponse#status #status} => Types::RuleGroupsNamespaceStatus
486
486
  # * {Types::CreateRuleGroupsNamespaceResponse#tags #tags} => Hash&lt;String,String&gt;
487
487
  #
488
488
  # @example Request syntax with placeholder values
489
489
  #
490
490
  # resp = client.create_rule_groups_namespace({
491
- # client_token: "IdempotencyToken",
492
- # data: "data", # required
491
+ # workspace_id: "WorkspaceId", # required
493
492
  # name: "RuleGroupsNamespaceName", # required
493
+ # data: "data", # required
494
+ # client_token: "IdempotencyToken",
494
495
  # tags: {
495
496
  # "TagKey" => "TagValue",
496
497
  # },
497
- # workspace_id: "WorkspaceId", # required
498
498
  # })
499
499
  #
500
500
  # @example Response structure
501
501
  #
502
- # resp.arn #=> String
503
502
  # resp.name #=> String
503
+ # resp.arn #=> String
504
504
  # resp.status.status_code #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATION_FAILED", "UPDATE_FAILED"
505
505
  # resp.status.status_reason #=> String
506
506
  # resp.tags #=> Hash
@@ -533,10 +533,10 @@ module Aws::PrometheusService
533
533
  #
534
534
  # @return [Types::CreateWorkspaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
535
535
  #
536
+ # * {Types::CreateWorkspaceResponse#workspace_id #workspace_id} => String
536
537
  # * {Types::CreateWorkspaceResponse#arn #arn} => String
537
538
  # * {Types::CreateWorkspaceResponse#status #status} => Types::WorkspaceStatus
538
539
  # * {Types::CreateWorkspaceResponse#tags #tags} => Hash&lt;String,String&gt;
539
- # * {Types::CreateWorkspaceResponse#workspace_id #workspace_id} => String
540
540
  #
541
541
  # @example Request syntax with placeholder values
542
542
  #
@@ -550,11 +550,11 @@ module Aws::PrometheusService
550
550
  #
551
551
  # @example Response structure
552
552
  #
553
+ # resp.workspace_id #=> String
553
554
  # resp.arn #=> String
554
555
  # resp.status.status_code #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATION_FAILED"
555
556
  # resp.tags #=> Hash
556
557
  # resp.tags["TagKey"] #=> String
557
- # resp.workspace_id #=> String
558
558
  #
559
559
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/CreateWorkspace AWS API Documentation
560
560
  #
@@ -567,6 +567,10 @@ module Aws::PrometheusService
567
567
 
568
568
  # Deletes an alert manager definition.
569
569
  #
570
+ # @option params [required, String] :workspace_id
571
+ # The ID of the workspace in which to delete the alert manager
572
+ # definition.
573
+ #
570
574
  # @option params [String] :client_token
571
575
  # Optional, unique, case-sensitive, user-provided identifier to ensure
572
576
  # the idempotency of the request.
@@ -574,17 +578,13 @@ module Aws::PrometheusService
574
578
  # **A suitable default value is auto-generated.** You should normally
575
579
  # not need to pass this option.**
576
580
  #
577
- # @option params [required, String] :workspace_id
578
- # The ID of the workspace in which to delete the alert manager
579
- # definition.
580
- #
581
581
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
582
582
  #
583
583
  # @example Request syntax with placeholder values
584
584
  #
585
585
  # resp = client.delete_alert_manager_definition({
586
- # client_token: "IdempotencyToken",
587
586
  # workspace_id: "WorkspaceId", # required
587
+ # client_token: "IdempotencyToken",
588
588
  # })
589
589
  #
590
590
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DeleteAlertManagerDefinition AWS API Documentation
@@ -598,6 +598,9 @@ module Aws::PrometheusService
598
598
 
599
599
  # Delete logging configuration.
600
600
  #
601
+ # @option params [required, String] :workspace_id
602
+ # The ID of the workspace to vend logs to.
603
+ #
601
604
  # @option params [String] :client_token
602
605
  # Optional, unique, case-sensitive, user-provided identifier to ensure
603
606
  # the idempotency of the request.
@@ -605,16 +608,13 @@ module Aws::PrometheusService
605
608
  # **A suitable default value is auto-generated.** You should normally
606
609
  # not need to pass this option.**
607
610
  #
608
- # @option params [required, String] :workspace_id
609
- # The ID of the workspace to vend logs to.
610
- #
611
611
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
612
612
  #
613
613
  # @example Request syntax with placeholder values
614
614
  #
615
615
  # resp = client.delete_logging_configuration({
616
- # client_token: "IdempotencyToken",
617
616
  # workspace_id: "WorkspaceId", # required
617
+ # client_token: "IdempotencyToken",
618
618
  # })
619
619
  #
620
620
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DeleteLoggingConfiguration AWS API Documentation
@@ -628,6 +628,12 @@ module Aws::PrometheusService
628
628
 
629
629
  # Delete a rule groups namespace.
630
630
  #
631
+ # @option params [required, String] :workspace_id
632
+ # The ID of the workspace to delete rule group definition.
633
+ #
634
+ # @option params [required, String] :name
635
+ # The rule groups namespace name.
636
+ #
631
637
  # @option params [String] :client_token
632
638
  # Optional, unique, case-sensitive, user-provided identifier to ensure
633
639
  # the idempotency of the request.
@@ -635,20 +641,14 @@ module Aws::PrometheusService
635
641
  # **A suitable default value is auto-generated.** You should normally
636
642
  # not need to pass this option.**
637
643
  #
638
- # @option params [required, String] :name
639
- # The rule groups namespace name.
640
- #
641
- # @option params [required, String] :workspace_id
642
- # The ID of the workspace to delete rule group definition.
643
- #
644
644
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
645
645
  #
646
646
  # @example Request syntax with placeholder values
647
647
  #
648
648
  # resp = client.delete_rule_groups_namespace({
649
- # client_token: "IdempotencyToken",
650
- # name: "RuleGroupsNamespaceName", # required
651
649
  # workspace_id: "WorkspaceId", # required
650
+ # name: "RuleGroupsNamespaceName", # required
651
+ # client_token: "IdempotencyToken",
652
652
  # })
653
653
  #
654
654
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DeleteRuleGroupsNamespace AWS API Documentation
@@ -662,6 +662,9 @@ module Aws::PrometheusService
662
662
 
663
663
  # Deletes an AMP workspace.
664
664
  #
665
+ # @option params [required, String] :workspace_id
666
+ # The ID of the workspace to delete.
667
+ #
665
668
  # @option params [String] :client_token
666
669
  # Optional, unique, case-sensitive, user-provided identifier to ensure
667
670
  # the idempotency of the request.
@@ -669,16 +672,13 @@ module Aws::PrometheusService
669
672
  # **A suitable default value is auto-generated.** You should normally
670
673
  # not need to pass this option.**
671
674
  #
672
- # @option params [required, String] :workspace_id
673
- # The ID of the workspace to delete.
674
- #
675
675
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
676
676
  #
677
677
  # @example Request syntax with placeholder values
678
678
  #
679
679
  # resp = client.delete_workspace({
680
- # client_token: "IdempotencyToken",
681
680
  # workspace_id: "WorkspaceId", # required
681
+ # client_token: "IdempotencyToken",
682
682
  # })
683
683
  #
684
684
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DeleteWorkspace AWS API Documentation
@@ -707,11 +707,11 @@ module Aws::PrometheusService
707
707
  #
708
708
  # @example Response structure
709
709
  #
710
- # resp.alert_manager_definition.created_at #=> Time
711
- # resp.alert_manager_definition.data #=> String
712
- # resp.alert_manager_definition.modified_at #=> Time
713
710
  # resp.alert_manager_definition.status.status_code #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATION_FAILED", "UPDATE_FAILED"
714
711
  # resp.alert_manager_definition.status.status_reason #=> String
712
+ # resp.alert_manager_definition.data #=> String
713
+ # resp.alert_manager_definition.created_at #=> Time
714
+ # resp.alert_manager_definition.modified_at #=> Time
715
715
  #
716
716
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DescribeAlertManagerDefinition AWS API Documentation
717
717
  #
@@ -739,12 +739,12 @@ module Aws::PrometheusService
739
739
  #
740
740
  # @example Response structure
741
741
  #
742
- # resp.logging_configuration.created_at #=> Time
743
- # resp.logging_configuration.log_group_arn #=> String
744
- # resp.logging_configuration.modified_at #=> Time
745
742
  # resp.logging_configuration.status.status_code #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATION_FAILED", "UPDATE_FAILED"
746
743
  # resp.logging_configuration.status.status_reason #=> String
747
744
  # resp.logging_configuration.workspace #=> String
745
+ # resp.logging_configuration.log_group_arn #=> String
746
+ # resp.logging_configuration.created_at #=> Time
747
+ # resp.logging_configuration.modified_at #=> Time
748
748
  #
749
749
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/DescribeLoggingConfiguration AWS API Documentation
750
750
  #
@@ -757,12 +757,12 @@ module Aws::PrometheusService
757
757
 
758
758
  # Describe a rule groups namespace.
759
759
  #
760
- # @option params [required, String] :name
761
- # The rule groups namespace.
762
- #
763
760
  # @option params [required, String] :workspace_id
764
761
  # The ID of the workspace to describe.
765
762
  #
763
+ # @option params [required, String] :name
764
+ # The rule groups namespace.
765
+ #
766
766
  # @return [Types::DescribeRuleGroupsNamespaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
767
767
  #
768
768
  # * {Types::DescribeRuleGroupsNamespaceResponse#rule_groups_namespace #rule_groups_namespace} => Types::RuleGroupsNamespaceDescription
@@ -770,19 +770,19 @@ module Aws::PrometheusService
770
770
  # @example Request syntax with placeholder values
771
771
  #
772
772
  # resp = client.describe_rule_groups_namespace({
773
- # name: "RuleGroupsNamespaceName", # required
774
773
  # workspace_id: "WorkspaceId", # required
774
+ # name: "RuleGroupsNamespaceName", # required
775
775
  # })
776
776
  #
777
777
  # @example Response structure
778
778
  #
779
779
  # resp.rule_groups_namespace.arn #=> String
780
- # resp.rule_groups_namespace.created_at #=> Time
781
- # resp.rule_groups_namespace.data #=> String
782
- # resp.rule_groups_namespace.modified_at #=> Time
783
780
  # resp.rule_groups_namespace.name #=> String
784
781
  # resp.rule_groups_namespace.status.status_code #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATION_FAILED", "UPDATE_FAILED"
785
782
  # resp.rule_groups_namespace.status.status_reason #=> String
783
+ # resp.rule_groups_namespace.data #=> String
784
+ # resp.rule_groups_namespace.created_at #=> Time
785
+ # resp.rule_groups_namespace.modified_at #=> Time
786
786
  # resp.rule_groups_namespace.tags #=> Hash
787
787
  # resp.rule_groups_namespace.tags["TagKey"] #=> String
788
788
  #
@@ -812,14 +812,14 @@ module Aws::PrometheusService
812
812
  #
813
813
  # @example Response structure
814
814
  #
815
+ # resp.workspace.workspace_id #=> String
815
816
  # resp.workspace.alias #=> String
816
817
  # resp.workspace.arn #=> String
817
- # resp.workspace.created_at #=> Time
818
- # resp.workspace.prometheus_endpoint #=> String
819
818
  # resp.workspace.status.status_code #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATION_FAILED"
819
+ # resp.workspace.prometheus_endpoint #=> String
820
+ # resp.workspace.created_at #=> Time
820
821
  # resp.workspace.tags #=> Hash
821
822
  # resp.workspace.tags["TagKey"] #=> String
822
- # resp.workspace.workspace_id #=> String
823
823
  #
824
824
  #
825
825
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -838,8 +838,8 @@ module Aws::PrometheusService
838
838
 
839
839
  # Lists rule groups namespaces.
840
840
  #
841
- # @option params [Integer] :max_results
842
- # Maximum results to return in response (default=100, maximum=1000).
841
+ # @option params [required, String] :workspace_id
842
+ # The ID of the workspace.
843
843
  #
844
844
  # @option params [String] :name
845
845
  # Optional filter for rule groups namespace name. Only the rule groups
@@ -850,37 +850,37 @@ module Aws::PrometheusService
850
850
  # token is obtained from the output of the previous
851
851
  # ListRuleGroupsNamespaces request.
852
852
  #
853
- # @option params [required, String] :workspace_id
854
- # The ID of the workspace.
853
+ # @option params [Integer] :max_results
854
+ # Maximum results to return in response (default=100, maximum=1000).
855
855
  #
856
856
  # @return [Types::ListRuleGroupsNamespacesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
857
857
  #
858
- # * {Types::ListRuleGroupsNamespacesResponse#next_token #next_token} => String
859
858
  # * {Types::ListRuleGroupsNamespacesResponse#rule_groups_namespaces #rule_groups_namespaces} => Array&lt;Types::RuleGroupsNamespaceSummary&gt;
859
+ # * {Types::ListRuleGroupsNamespacesResponse#next_token #next_token} => String
860
860
  #
861
861
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
862
862
  #
863
863
  # @example Request syntax with placeholder values
864
864
  #
865
865
  # resp = client.list_rule_groups_namespaces({
866
- # max_results: 1,
866
+ # workspace_id: "WorkspaceId", # required
867
867
  # name: "RuleGroupsNamespaceName",
868
868
  # next_token: "PaginationToken",
869
- # workspace_id: "WorkspaceId", # required
869
+ # max_results: 1,
870
870
  # })
871
871
  #
872
872
  # @example Response structure
873
873
  #
874
- # resp.next_token #=> String
875
874
  # resp.rule_groups_namespaces #=> Array
876
875
  # resp.rule_groups_namespaces[0].arn #=> String
877
- # resp.rule_groups_namespaces[0].created_at #=> Time
878
- # resp.rule_groups_namespaces[0].modified_at #=> Time
879
876
  # resp.rule_groups_namespaces[0].name #=> String
880
877
  # resp.rule_groups_namespaces[0].status.status_code #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATION_FAILED", "UPDATE_FAILED"
881
878
  # resp.rule_groups_namespaces[0].status.status_reason #=> String
879
+ # resp.rule_groups_namespaces[0].created_at #=> Time
880
+ # resp.rule_groups_namespaces[0].modified_at #=> Time
882
881
  # resp.rule_groups_namespaces[0].tags #=> Hash
883
882
  # resp.rule_groups_namespaces[0].tags["TagKey"] #=> String
883
+ # resp.next_token #=> String
884
884
  #
885
885
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ListRuleGroupsNamespaces AWS API Documentation
886
886
  #
@@ -923,6 +923,11 @@ module Aws::PrometheusService
923
923
  # Lists all AMP workspaces, including workspaces being created or
924
924
  # deleted.
925
925
  #
926
+ # @option params [String] :next_token
927
+ # Pagination token to request the next page in a paginated list. This
928
+ # token is obtained from the output of the previous ListWorkspaces
929
+ # request.
930
+ #
926
931
  # @option params [String] :alias
927
932
  # Optional filter for workspace alias. Only the workspaces with aliases
928
933
  # that begin with this value will be returned.
@@ -930,37 +935,32 @@ module Aws::PrometheusService
930
935
  # @option params [Integer] :max_results
931
936
  # Maximum results to return in response (default=100, maximum=1000).
932
937
  #
933
- # @option params [String] :next_token
934
- # Pagination token to request the next page in a paginated list. This
935
- # token is obtained from the output of the previous ListWorkspaces
936
- # request.
937
- #
938
938
  # @return [Types::ListWorkspacesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
939
939
  #
940
- # * {Types::ListWorkspacesResponse#next_token #next_token} => String
941
940
  # * {Types::ListWorkspacesResponse#workspaces #workspaces} => Array&lt;Types::WorkspaceSummary&gt;
941
+ # * {Types::ListWorkspacesResponse#next_token #next_token} => String
942
942
  #
943
943
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
944
944
  #
945
945
  # @example Request syntax with placeholder values
946
946
  #
947
947
  # resp = client.list_workspaces({
948
+ # next_token: "PaginationToken",
948
949
  # alias: "WorkspaceAlias",
949
950
  # max_results: 1,
950
- # next_token: "PaginationToken",
951
951
  # })
952
952
  #
953
953
  # @example Response structure
954
954
  #
955
- # resp.next_token #=> String
956
955
  # resp.workspaces #=> Array
956
+ # resp.workspaces[0].workspace_id #=> String
957
957
  # resp.workspaces[0].alias #=> String
958
958
  # resp.workspaces[0].arn #=> String
959
- # resp.workspaces[0].created_at #=> Time
960
959
  # resp.workspaces[0].status.status_code #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATION_FAILED"
960
+ # resp.workspaces[0].created_at #=> Time
961
961
  # resp.workspaces[0].tags #=> Hash
962
962
  # resp.workspaces[0].tags["TagKey"] #=> String
963
- # resp.workspaces[0].workspace_id #=> String
963
+ # resp.next_token #=> String
964
964
  #
965
965
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/ListWorkspaces AWS API Documentation
966
966
  #
@@ -973,6 +973,13 @@ module Aws::PrometheusService
973
973
 
974
974
  # Update an alert manager definition.
975
975
  #
976
+ # @option params [required, String] :workspace_id
977
+ # The ID of the workspace in which to update the alert manager
978
+ # definition.
979
+ #
980
+ # @option params [required, String, StringIO, File] :data
981
+ # The alert manager definition data.
982
+ #
976
983
  # @option params [String] :client_token
977
984
  # Optional, unique, case-sensitive, user-provided identifier to ensure
978
985
  # the idempotency of the request.
@@ -980,13 +987,6 @@ module Aws::PrometheusService
980
987
  # **A suitable default value is auto-generated.** You should normally
981
988
  # not need to pass this option.**
982
989
  #
983
- # @option params [required, String, StringIO, File] :data
984
- # The alert manager definition data.
985
- #
986
- # @option params [required, String] :workspace_id
987
- # The ID of the workspace in which to update the alert manager
988
- # definition.
989
- #
990
990
  # @return [Types::PutAlertManagerDefinitionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
991
991
  #
992
992
  # * {Types::PutAlertManagerDefinitionResponse#status #status} => Types::AlertManagerDefinitionStatus
@@ -994,9 +994,9 @@ module Aws::PrometheusService
994
994
  # @example Request syntax with placeholder values
995
995
  #
996
996
  # resp = client.put_alert_manager_definition({
997
- # client_token: "IdempotencyToken",
998
- # data: "data", # required
999
997
  # workspace_id: "WorkspaceId", # required
998
+ # data: "data", # required
999
+ # client_token: "IdempotencyToken",
1000
1000
  # })
1001
1001
  #
1002
1002
  # @example Response structure
@@ -1015,42 +1015,42 @@ module Aws::PrometheusService
1015
1015
 
1016
1016
  # Update a rule groups namespace.
1017
1017
  #
1018
- # @option params [String] :client_token
1019
- # Optional, unique, case-sensitive, user-provided identifier to ensure
1020
- # the idempotency of the request.
1018
+ # @option params [required, String] :workspace_id
1019
+ # The ID of the workspace in which to update the rule group namespace.
1021
1020
  #
1022
- # **A suitable default value is auto-generated.** You should normally
1023
- # not need to pass this option.**
1021
+ # @option params [required, String] :name
1022
+ # The rule groups namespace name.
1024
1023
  #
1025
1024
  # @option params [required, String, StringIO, File] :data
1026
1025
  # The namespace data that define the rule groups.
1027
1026
  #
1028
- # @option params [required, String] :name
1029
- # The rule groups namespace name.
1027
+ # @option params [String] :client_token
1028
+ # Optional, unique, case-sensitive, user-provided identifier to ensure
1029
+ # the idempotency of the request.
1030
1030
  #
1031
- # @option params [required, String] :workspace_id
1032
- # The ID of the workspace in which to update the rule group namespace.
1031
+ # **A suitable default value is auto-generated.** You should normally
1032
+ # not need to pass this option.**
1033
1033
  #
1034
1034
  # @return [Types::PutRuleGroupsNamespaceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1035
1035
  #
1036
- # * {Types::PutRuleGroupsNamespaceResponse#arn #arn} => String
1037
1036
  # * {Types::PutRuleGroupsNamespaceResponse#name #name} => String
1037
+ # * {Types::PutRuleGroupsNamespaceResponse#arn #arn} => String
1038
1038
  # * {Types::PutRuleGroupsNamespaceResponse#status #status} => Types::RuleGroupsNamespaceStatus
1039
1039
  # * {Types::PutRuleGroupsNamespaceResponse#tags #tags} => Hash&lt;String,String&gt;
1040
1040
  #
1041
1041
  # @example Request syntax with placeholder values
1042
1042
  #
1043
1043
  # resp = client.put_rule_groups_namespace({
1044
- # client_token: "IdempotencyToken",
1045
- # data: "data", # required
1046
- # name: "RuleGroupsNamespaceName", # required
1047
1044
  # workspace_id: "WorkspaceId", # required
1045
+ # name: "RuleGroupsNamespaceName", # required
1046
+ # data: "data", # required
1047
+ # client_token: "IdempotencyToken",
1048
1048
  # })
1049
1049
  #
1050
1050
  # @example Response structure
1051
1051
  #
1052
- # resp.arn #=> String
1053
1052
  # resp.name #=> String
1053
+ # resp.arn #=> String
1054
1054
  # resp.status.status_code #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATION_FAILED", "UPDATE_FAILED"
1055
1055
  # resp.status.status_reason #=> String
1056
1056
  # resp.tags #=> Hash
@@ -1121,6 +1121,13 @@ module Aws::PrometheusService
1121
1121
 
1122
1122
  # Update logging configuration.
1123
1123
  #
1124
+ # @option params [required, String] :workspace_id
1125
+ # The ID of the workspace to vend logs to.
1126
+ #
1127
+ # @option params [required, String] :log_group_arn
1128
+ # The ARN of the CW log group to which the vended log data will be
1129
+ # published.
1130
+ #
1124
1131
  # @option params [String] :client_token
1125
1132
  # Optional, unique, case-sensitive, user-provided identifier to ensure
1126
1133
  # the idempotency of the request.
@@ -1128,13 +1135,6 @@ module Aws::PrometheusService
1128
1135
  # **A suitable default value is auto-generated.** You should normally
1129
1136
  # not need to pass this option.**
1130
1137
  #
1131
- # @option params [required, String] :log_group_arn
1132
- # The ARN of the CW log group to which the vended log data will be
1133
- # published.
1134
- #
1135
- # @option params [required, String] :workspace_id
1136
- # The ID of the workspace to vend logs to.
1137
- #
1138
1138
  # @return [Types::UpdateLoggingConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1139
1139
  #
1140
1140
  # * {Types::UpdateLoggingConfigurationResponse#status #status} => Types::LoggingConfigurationStatus
@@ -1142,9 +1142,9 @@ module Aws::PrometheusService
1142
1142
  # @example Request syntax with placeholder values
1143
1143
  #
1144
1144
  # resp = client.update_logging_configuration({
1145
- # client_token: "IdempotencyToken",
1146
- # log_group_arn: "LogGroupArn", # required
1147
1145
  # workspace_id: "WorkspaceId", # required
1146
+ # log_group_arn: "LogGroupArn", # required
1147
+ # client_token: "IdempotencyToken",
1148
1148
  # })
1149
1149
  #
1150
1150
  # @example Response structure
@@ -1163,6 +1163,9 @@ module Aws::PrometheusService
1163
1163
 
1164
1164
  # Updates an AMP workspace alias.
1165
1165
  #
1166
+ # @option params [required, String] :workspace_id
1167
+ # The ID of the workspace being updated.
1168
+ #
1166
1169
  # @option params [String] :alias
1167
1170
  # The new alias of the workspace.
1168
1171
  #
@@ -1173,17 +1176,14 @@ module Aws::PrometheusService
1173
1176
  # **A suitable default value is auto-generated.** You should normally
1174
1177
  # not need to pass this option.**
1175
1178
  #
1176
- # @option params [required, String] :workspace_id
1177
- # The ID of the workspace being updated.
1178
- #
1179
1179
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1180
1180
  #
1181
1181
  # @example Request syntax with placeholder values
1182
1182
  #
1183
1183
  # resp = client.update_workspace_alias({
1184
+ # workspace_id: "WorkspaceId", # required
1184
1185
  # alias: "WorkspaceAlias",
1185
1186
  # client_token: "IdempotencyToken",
1186
- # workspace_id: "WorkspaceId", # required
1187
1187
  # })
1188
1188
  #
1189
1189
  # @see http://docs.aws.amazon.com/goto/WebAPI/amp-2020-08-01/UpdateWorkspaceAlias AWS API Documentation
@@ -1208,7 +1208,7 @@ module Aws::PrometheusService
1208
1208
  params: params,
1209
1209
  config: config)
1210
1210
  context[:gem_name] = 'aws-sdk-prometheusservice'
1211
- context[:gem_version] = '1.20.0'
1211
+ context[:gem_version] = '1.21.0'
1212
1212
  Seahorse::Client::Request.new(handlers, context)
1213
1213
  end
1214
1214