aws-sdk-artifact 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.
data/sig/client.rbs ADDED
@@ -0,0 +1,143 @@
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/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module Artifact
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Artifact/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> instance
72
+ | (?Hash[Symbol, untyped]) -> instance
73
+
74
+
75
+ interface _GetAccountSettingsResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAccountSettingsResponse]
77
+ def account_settings: () -> Types::AccountSettings
78
+ end
79
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Artifact/Client.html#get_account_settings-instance_method
80
+ def get_account_settings: (
81
+ ) -> _GetAccountSettingsResponseSuccess
82
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAccountSettingsResponseSuccess
83
+
84
+ interface _GetReportResponseSuccess
85
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetReportResponse]
86
+ def document_presigned_url: () -> ::String
87
+ end
88
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Artifact/Client.html#get_report-instance_method
89
+ def get_report: (
90
+ report_id: ::String,
91
+ ?report_version: ::Integer,
92
+ term_token: ::String
93
+ ) -> _GetReportResponseSuccess
94
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetReportResponseSuccess
95
+
96
+ interface _GetReportMetadataResponseSuccess
97
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetReportMetadataResponse]
98
+ def report_details: () -> Types::ReportDetail
99
+ end
100
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Artifact/Client.html#get_report_metadata-instance_method
101
+ def get_report_metadata: (
102
+ report_id: ::String,
103
+ ?report_version: ::Integer
104
+ ) -> _GetReportMetadataResponseSuccess
105
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetReportMetadataResponseSuccess
106
+
107
+ interface _GetTermForReportResponseSuccess
108
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetTermForReportResponse]
109
+ def document_presigned_url: () -> ::String
110
+ def term_token: () -> ::String
111
+ end
112
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Artifact/Client.html#get_term_for_report-instance_method
113
+ def get_term_for_report: (
114
+ report_id: ::String,
115
+ ?report_version: ::Integer
116
+ ) -> _GetTermForReportResponseSuccess
117
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTermForReportResponseSuccess
118
+
119
+ interface _ListReportsResponseSuccess
120
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListReportsResponse]
121
+ def next_token: () -> ::String
122
+ def reports: () -> ::Array[Types::ReportSummary]
123
+ end
124
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Artifact/Client.html#list_reports-instance_method
125
+ def list_reports: (
126
+ ?max_results: ::Integer,
127
+ ?next_token: ::String
128
+ ) -> _ListReportsResponseSuccess
129
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListReportsResponseSuccess
130
+
131
+ interface _PutAccountSettingsResponseSuccess
132
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutAccountSettingsResponse]
133
+ def account_settings: () -> Types::AccountSettings
134
+ end
135
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Artifact/Client.html#put_account_settings-instance_method
136
+ def put_account_settings: (
137
+ ?notification_subscription_status: ("SUBSCRIBED" | "NOT_SUBSCRIBED")
138
+ ) -> _PutAccountSettingsResponseSuccess
139
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAccountSettingsResponseSuccess
140
+ end
141
+ end
142
+ end
143
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,51 @@
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/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module Artifact
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class AccessDeniedException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class ConflictException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ def resource_id: () -> ::String
20
+ def resource_type: () -> ::String
21
+ end
22
+ class InternalServerException < ::Aws::Errors::ServiceError
23
+ def message: () -> ::String
24
+ def retry_after_seconds: () -> ::String
25
+ end
26
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
27
+ def message: () -> ::String
28
+ def resource_id: () -> ::String
29
+ def resource_type: () -> ::String
30
+ end
31
+ class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
32
+ def message: () -> ::String
33
+ def quota_code: () -> ::String
34
+ def resource_id: () -> ::String
35
+ def resource_type: () -> ::String
36
+ def service_code: () -> ::String
37
+ end
38
+ class ThrottlingException < ::Aws::Errors::ServiceError
39
+ def message: () -> ::String
40
+ def quota_code: () -> ::String
41
+ def retry_after_seconds: () -> ::String
42
+ def service_code: () -> ::String
43
+ end
44
+ class ValidationException < ::Aws::Errors::ServiceError
45
+ def field_list: () -> ::String
46
+ def message: () -> ::String
47
+ def reason: () -> ::String
48
+ end
49
+ end
50
+ end
51
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,79 @@
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/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module Artifact
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Artifact/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Artifact/Resource.html#initialize-instance_method
13
+ def initialize: (
14
+ ?client: Client,
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> void
72
+ | (?Hash[Symbol, untyped]) -> void
73
+
74
+ def client: () -> Client
75
+
76
+
77
+ end
78
+ end
79
+ end
data/sig/types.rbs ADDED
@@ -0,0 +1,178 @@
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/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::Artifact
9
+ module Types
10
+
11
+ class AccessDeniedException
12
+ attr_accessor message: ::String
13
+ SENSITIVE: []
14
+ end
15
+
16
+ class AccountSettings
17
+ attr_accessor notification_subscription_status: ("SUBSCRIBED" | "NOT_SUBSCRIBED")
18
+ SENSITIVE: []
19
+ end
20
+
21
+ class ConflictException
22
+ attr_accessor message: ::String
23
+ attr_accessor resource_id: ::String
24
+ attr_accessor resource_type: ::String
25
+ SENSITIVE: []
26
+ end
27
+
28
+ class GetAccountSettingsRequest < Aws::EmptyStructure
29
+ end
30
+
31
+ class GetAccountSettingsResponse
32
+ attr_accessor account_settings: Types::AccountSettings
33
+ SENSITIVE: []
34
+ end
35
+
36
+ class GetReportMetadataRequest
37
+ attr_accessor report_id: ::String
38
+ attr_accessor report_version: ::Integer
39
+ SENSITIVE: []
40
+ end
41
+
42
+ class GetReportMetadataResponse
43
+ attr_accessor report_details: Types::ReportDetail
44
+ SENSITIVE: []
45
+ end
46
+
47
+ class GetReportRequest
48
+ attr_accessor report_id: ::String
49
+ attr_accessor report_version: ::Integer
50
+ attr_accessor term_token: ::String
51
+ SENSITIVE: []
52
+ end
53
+
54
+ class GetReportResponse
55
+ attr_accessor document_presigned_url: ::String
56
+ SENSITIVE: []
57
+ end
58
+
59
+ class GetTermForReportRequest
60
+ attr_accessor report_id: ::String
61
+ attr_accessor report_version: ::Integer
62
+ SENSITIVE: []
63
+ end
64
+
65
+ class GetTermForReportResponse
66
+ attr_accessor document_presigned_url: ::String
67
+ attr_accessor term_token: ::String
68
+ SENSITIVE: []
69
+ end
70
+
71
+ class InternalServerException
72
+ attr_accessor message: ::String
73
+ attr_accessor retry_after_seconds: ::Integer
74
+ SENSITIVE: []
75
+ end
76
+
77
+ class ListReportsRequest
78
+ attr_accessor max_results: ::Integer
79
+ attr_accessor next_token: ::String
80
+ SENSITIVE: []
81
+ end
82
+
83
+ class ListReportsResponse
84
+ attr_accessor next_token: ::String
85
+ attr_accessor reports: ::Array[Types::ReportSummary]
86
+ SENSITIVE: []
87
+ end
88
+
89
+ class PutAccountSettingsRequest
90
+ attr_accessor notification_subscription_status: ("SUBSCRIBED" | "NOT_SUBSCRIBED")
91
+ SENSITIVE: []
92
+ end
93
+
94
+ class PutAccountSettingsResponse
95
+ attr_accessor account_settings: Types::AccountSettings
96
+ SENSITIVE: []
97
+ end
98
+
99
+ class ReportDetail
100
+ attr_accessor acceptance_type: ("PASSTHROUGH" | "EXPLICIT")
101
+ attr_accessor arn: ::String
102
+ attr_accessor category: ::String
103
+ attr_accessor company_name: ::String
104
+ attr_accessor created_at: ::Time
105
+ attr_accessor deleted_at: ::Time
106
+ attr_accessor description: ::String
107
+ attr_accessor id: ::String
108
+ attr_accessor last_modified_at: ::Time
109
+ attr_accessor name: ::String
110
+ attr_accessor period_end: ::Time
111
+ attr_accessor period_start: ::Time
112
+ attr_accessor product_name: ::String
113
+ attr_accessor sequence_number: ::Integer
114
+ attr_accessor series: ::String
115
+ attr_accessor state: ("PUBLISHED" | "UNPUBLISHED")
116
+ attr_accessor status_message: ::String
117
+ attr_accessor term_arn: ::String
118
+ attr_accessor upload_state: ("PROCESSING" | "COMPLETE" | "FAILED" | "FAULT")
119
+ attr_accessor version: ::Integer
120
+ SENSITIVE: []
121
+ end
122
+
123
+ class ReportSummary
124
+ attr_accessor arn: ::String
125
+ attr_accessor category: ::String
126
+ attr_accessor company_name: ::String
127
+ attr_accessor description: ::String
128
+ attr_accessor id: ::String
129
+ attr_accessor name: ::String
130
+ attr_accessor period_end: ::Time
131
+ attr_accessor period_start: ::Time
132
+ attr_accessor product_name: ::String
133
+ attr_accessor series: ::String
134
+ attr_accessor state: ("PUBLISHED" | "UNPUBLISHED")
135
+ attr_accessor status_message: ::String
136
+ attr_accessor upload_state: ("PROCESSING" | "COMPLETE" | "FAILED" | "FAULT")
137
+ attr_accessor version: ::Integer
138
+ SENSITIVE: []
139
+ end
140
+
141
+ class ResourceNotFoundException
142
+ attr_accessor message: ::String
143
+ attr_accessor resource_id: ::String
144
+ attr_accessor resource_type: ::String
145
+ SENSITIVE: []
146
+ end
147
+
148
+ class ServiceQuotaExceededException
149
+ attr_accessor message: ::String
150
+ attr_accessor quota_code: ::String
151
+ attr_accessor resource_id: ::String
152
+ attr_accessor resource_type: ::String
153
+ attr_accessor service_code: ::String
154
+ SENSITIVE: []
155
+ end
156
+
157
+ class ThrottlingException
158
+ attr_accessor message: ::String
159
+ attr_accessor quota_code: ::String
160
+ attr_accessor retry_after_seconds: ::Integer
161
+ attr_accessor service_code: ::String
162
+ SENSITIVE: []
163
+ end
164
+
165
+ class ValidationException
166
+ attr_accessor field_list: ::Array[Types::ValidationExceptionField]
167
+ attr_accessor message: ::String
168
+ attr_accessor reason: ("unknownOperation" | "cannotParse" | "fieldValidationFailed" | "invalidToken" | "other")
169
+ SENSITIVE: []
170
+ end
171
+
172
+ class ValidationExceptionField
173
+ attr_accessor message: ::String
174
+ attr_accessor name: ::String
175
+ SENSITIVE: []
176
+ end
177
+ end
178
+ end
data/sig/waiters.rbs ADDED
@@ -0,0 +1,13 @@
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/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module Artifact
10
+ module Waiters
11
+ end
12
+ end
13
+ end
metadata ADDED
@@ -0,0 +1,99 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: aws-sdk-artifact
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: 2024-02-15 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.191.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.191.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 AWS Artifact. This gem is part of the AWS SDK
48
+ for Ruby.
49
+ email:
50
+ - aws-dr-rubygems@amazon.com
51
+ executables: []
52
+ extensions: []
53
+ extra_rdoc_files: []
54
+ files:
55
+ - CHANGELOG.md
56
+ - LICENSE.txt
57
+ - VERSION
58
+ - lib/aws-sdk-artifact.rb
59
+ - lib/aws-sdk-artifact/client.rb
60
+ - lib/aws-sdk-artifact/client_api.rb
61
+ - lib/aws-sdk-artifact/customizations.rb
62
+ - lib/aws-sdk-artifact/endpoint_parameters.rb
63
+ - lib/aws-sdk-artifact/endpoint_provider.rb
64
+ - lib/aws-sdk-artifact/endpoints.rb
65
+ - lib/aws-sdk-artifact/errors.rb
66
+ - lib/aws-sdk-artifact/plugins/endpoints.rb
67
+ - lib/aws-sdk-artifact/resource.rb
68
+ - lib/aws-sdk-artifact/types.rb
69
+ - sig/client.rbs
70
+ - sig/errors.rbs
71
+ - sig/resource.rbs
72
+ - sig/types.rbs
73
+ - sig/waiters.rbs
74
+ homepage: https://github.com/aws/aws-sdk-ruby
75
+ licenses:
76
+ - Apache-2.0
77
+ metadata:
78
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-artifact
79
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-artifact/CHANGELOG.md
80
+ post_install_message:
81
+ rdoc_options: []
82
+ require_paths:
83
+ - lib
84
+ required_ruby_version: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: '2.5'
89
+ required_rubygems_version: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - ">="
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ requirements: []
95
+ rubygems_version: 3.4.10
96
+ signing_key:
97
+ specification_version: 4
98
+ summary: AWS SDK for Ruby - AWS Artifact
99
+ test_files: []