aws-sdk-rds 1.200.0 → 1.201.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.
@@ -77,6 +77,8 @@ module Aws::RDS
77
77
  # | db_instance_deleted | {Client#describe_db_instances} | 30 | 60 |
78
78
  # | db_snapshot_available | {Client#describe_db_snapshots} | 30 | 60 |
79
79
  # | db_snapshot_deleted | {Client#describe_db_snapshots} | 30 | 60 |
80
+ # | tenant_database_available | {Client#describe_tenant_databases} | 30 | 60 |
81
+ # | tenant_database_deleted | {Client#describe_tenant_databases} | 30 | 60 |
80
82
  #
81
83
  module Waiters
82
84
 
@@ -619,5 +621,104 @@ module Aws::RDS
619
621
  attr_reader :waiter
620
622
 
621
623
  end
624
+
625
+ class TenantDatabaseAvailable
626
+
627
+ # @param [Hash] options
628
+ # @option options [required, Client] :client
629
+ # @option options [Integer] :max_attempts (60)
630
+ # @option options [Integer] :delay (30)
631
+ # @option options [Proc] :before_attempt
632
+ # @option options [Proc] :before_wait
633
+ def initialize(options)
634
+ @client = options.fetch(:client)
635
+ @waiter = Aws::Waiters::Waiter.new({
636
+ max_attempts: 60,
637
+ delay: 30,
638
+ poller: Aws::Waiters::Poller.new(
639
+ operation_name: :describe_tenant_databases,
640
+ acceptors: [
641
+ {
642
+ "expected" => "available",
643
+ "matcher" => "pathAll",
644
+ "state" => "success",
645
+ "argument" => "tenant_databases[].status"
646
+ },
647
+ {
648
+ "expected" => "deleted",
649
+ "matcher" => "pathAny",
650
+ "state" => "failure",
651
+ "argument" => "tenant_databases[].status"
652
+ },
653
+ {
654
+ "expected" => "incompatible-parameters",
655
+ "matcher" => "pathAny",
656
+ "state" => "failure",
657
+ "argument" => "tenant_databases[].status"
658
+ },
659
+ {
660
+ "expected" => "incompatible-restore",
661
+ "matcher" => "pathAny",
662
+ "state" => "failure",
663
+ "argument" => "tenant_databases[].status"
664
+ }
665
+ ]
666
+ )
667
+ }.merge(options))
668
+ end
669
+
670
+ # @option (see Client#describe_tenant_databases)
671
+ # @return (see Client#describe_tenant_databases)
672
+ def wait(params = {})
673
+ @waiter.wait(client: @client, params: params)
674
+ end
675
+
676
+ # @api private
677
+ attr_reader :waiter
678
+
679
+ end
680
+
681
+ class TenantDatabaseDeleted
682
+
683
+ # @param [Hash] options
684
+ # @option options [required, Client] :client
685
+ # @option options [Integer] :max_attempts (60)
686
+ # @option options [Integer] :delay (30)
687
+ # @option options [Proc] :before_attempt
688
+ # @option options [Proc] :before_wait
689
+ def initialize(options)
690
+ @client = options.fetch(:client)
691
+ @waiter = Aws::Waiters::Waiter.new({
692
+ max_attempts: 60,
693
+ delay: 30,
694
+ poller: Aws::Waiters::Poller.new(
695
+ operation_name: :describe_tenant_databases,
696
+ acceptors: [
697
+ {
698
+ "expected" => true,
699
+ "matcher" => "path",
700
+ "state" => "success",
701
+ "argument" => "length(tenant_databases) == `0`"
702
+ },
703
+ {
704
+ "expected" => "DBInstanceNotFoundFault",
705
+ "matcher" => "error",
706
+ "state" => "success"
707
+ }
708
+ ]
709
+ )
710
+ }.merge(options))
711
+ end
712
+
713
+ # @option (see Client#describe_tenant_databases)
714
+ # @return (see Client#describe_tenant_databases)
715
+ def wait(params = {})
716
+ @waiter.wait(client: @client, params: params)
717
+ end
718
+
719
+ # @api private
720
+ attr_reader :waiter
721
+
722
+ end
622
723
  end
623
724
  end
data/lib/aws-sdk-rds.rb CHANGED
@@ -78,6 +78,6 @@ require_relative 'aws-sdk-rds/customizations'
78
78
  # @!group service
79
79
  module Aws::RDS
80
80
 
81
- GEM_VERSION = '1.200.0'
81
+ GEM_VERSION = '1.201.0'
82
82
 
83
83
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-rds
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.200.0
4
+ version: 1.201.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-01 00:00:00.000000000 Z
11
+ date: 2023-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sigv4