aws-sdk-schemas 1.0.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 +7 -0
- data/lib/aws-sdk-schemas.rb +48 -0
- data/lib/aws-sdk-schemas/client.rb +1466 -0
- data/lib/aws-sdk-schemas/client_api.rb +1050 -0
- data/lib/aws-sdk-schemas/customizations.rb +0 -0
- data/lib/aws-sdk-schemas/errors.rb +203 -0
- data/lib/aws-sdk-schemas/resource.rb +23 -0
- data/lib/aws-sdk-schemas/types.rb +2013 -0
- data/lib/aws-sdk-schemas/waiters.rb +69 -0
- metadata +89 -0
@@ -0,0 +1,69 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
require 'aws-sdk-core/waiters'
|
9
|
+
|
10
|
+
module Aws::Schemas
|
11
|
+
module Waiters
|
12
|
+
|
13
|
+
# Wait until code binding is generated
|
14
|
+
class CodeBindingExists
|
15
|
+
|
16
|
+
# @param [Hash] options
|
17
|
+
# @option options [required, Client] :client
|
18
|
+
# @option options [Integer] :max_attempts (30)
|
19
|
+
# @option options [Integer] :delay (2)
|
20
|
+
# @option options [Proc] :before_attempt
|
21
|
+
# @option options [Proc] :before_wait
|
22
|
+
def initialize(options)
|
23
|
+
@client = options.fetch(:client)
|
24
|
+
@waiter = Aws::Waiters::Waiter.new({
|
25
|
+
max_attempts: 30,
|
26
|
+
delay: 2,
|
27
|
+
poller: Aws::Waiters::Poller.new(
|
28
|
+
operation_name: :describe_code_binding,
|
29
|
+
acceptors: [
|
30
|
+
{
|
31
|
+
"expected" => "CREATE_COMPLETE",
|
32
|
+
"matcher" => "path",
|
33
|
+
"state" => "success",
|
34
|
+
"argument" => "status"
|
35
|
+
},
|
36
|
+
{
|
37
|
+
"expected" => "CREATE_IN_PROGRESS",
|
38
|
+
"matcher" => "path",
|
39
|
+
"state" => "retry",
|
40
|
+
"argument" => "status"
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"expected" => "CREATE_FAILED",
|
44
|
+
"matcher" => "path",
|
45
|
+
"state" => "failure",
|
46
|
+
"argument" => "status"
|
47
|
+
},
|
48
|
+
{
|
49
|
+
"matcher" => "error",
|
50
|
+
"expected" => "NotFoundException",
|
51
|
+
"state" => "failure"
|
52
|
+
}
|
53
|
+
]
|
54
|
+
)
|
55
|
+
}.merge(options))
|
56
|
+
end
|
57
|
+
|
58
|
+
# @option (see Client#describe_code_binding)
|
59
|
+
# @return (see Client#describe_code_binding)
|
60
|
+
def wait(params = {})
|
61
|
+
@waiter.wait(client: @client, params: params)
|
62
|
+
end
|
63
|
+
|
64
|
+
# @api private
|
65
|
+
attr_reader :waiter
|
66
|
+
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
metadata
ADDED
@@ -0,0 +1,89 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: aws-sdk-schemas
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Amazon Web Services
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-12-02 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: aws-sdk-core
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3'
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 3.71.0
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '3'
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 3.71.0
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: aws-sigv4
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '1.1'
|
40
|
+
type: :runtime
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '1.1'
|
47
|
+
description: Official AWS Ruby gem for Schemas. This gem is part of the AWS SDK for
|
48
|
+
Ruby.
|
49
|
+
email:
|
50
|
+
- trevrowe@amazon.com
|
51
|
+
executables: []
|
52
|
+
extensions: []
|
53
|
+
extra_rdoc_files: []
|
54
|
+
files:
|
55
|
+
- lib/aws-sdk-schemas.rb
|
56
|
+
- lib/aws-sdk-schemas/client.rb
|
57
|
+
- lib/aws-sdk-schemas/client_api.rb
|
58
|
+
- lib/aws-sdk-schemas/customizations.rb
|
59
|
+
- lib/aws-sdk-schemas/errors.rb
|
60
|
+
- lib/aws-sdk-schemas/resource.rb
|
61
|
+
- lib/aws-sdk-schemas/types.rb
|
62
|
+
- lib/aws-sdk-schemas/waiters.rb
|
63
|
+
homepage: https://github.com/aws/aws-sdk-ruby
|
64
|
+
licenses:
|
65
|
+
- Apache-2.0
|
66
|
+
metadata:
|
67
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-schemas
|
68
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-schemas/CHANGELOG.md
|
69
|
+
post_install_message:
|
70
|
+
rdoc_options: []
|
71
|
+
require_paths:
|
72
|
+
- lib
|
73
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - ">="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
requirements: []
|
84
|
+
rubyforge_project:
|
85
|
+
rubygems_version: 2.5.2.3
|
86
|
+
signing_key:
|
87
|
+
specification_version: 4
|
88
|
+
summary: AWS SDK for Ruby - Schemas
|
89
|
+
test_files: []
|