aws-sdk-networksecuritymanager 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/errors.rbs ADDED
@@ -0,0 +1,55 @@
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 NetworkSecurityManager
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
+ end
25
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
26
+ def message: () -> ::String
27
+ def resource_id: () -> ::String
28
+ def resource_type: () -> ::String
29
+ end
30
+ class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
31
+ def message: () -> ::String
32
+ def quota_code: () -> ::String
33
+ def service_code: () -> ::String
34
+ def resource_id: () -> ::String
35
+ def resource_type: () -> ::String
36
+ end
37
+ class ServiceUnavailableException < ::Aws::Errors::ServiceError
38
+ def message: () -> ::String
39
+ def retry_after_seconds: () -> ::String
40
+ end
41
+ class TagPolicyViolationException < ::Aws::Errors::ServiceError
42
+ def message: () -> ::String
43
+ end
44
+ class ThrottlingException < ::Aws::Errors::ServiceError
45
+ def message: () -> ::String
46
+ def retry_after_seconds: () -> ::String
47
+ end
48
+ class ValidationException < ::Aws::Errors::ServiceError
49
+ def message: () -> ::String
50
+ def reason: () -> ::String
51
+ def field_list: () -> ::String
52
+ end
53
+ end
54
+ end
55
+ end
data/sig/params.rbs ADDED
@@ -0,0 +1,105 @@
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 NetworkSecurityManager
10
+ module Params
11
+ type policy_configuration = {
12
+ remediation_enabled: bool,
13
+ resources_clean_up: bool,
14
+ waf_config: {
15
+ existing_customer_web_acl_resolution: ("RETROFIT" | "OVERRIDE_ASSOCIATION" | "NO_REMEDIATION"),
16
+ conflict_resolution: ("MERGE_WHERE_APPLICABLE")
17
+ }?
18
+ }
19
+
20
+ type account_filter = {
21
+ include_all: {
22
+ }?,
23
+ include: {
24
+ account_ids: Array[::String]?,
25
+ organizational_units: Array[::String]?
26
+ }?,
27
+ exclude: {
28
+ account_ids: Array[::String]?,
29
+ organizational_units: Array[::String]?
30
+ }?
31
+ }
32
+
33
+ type scope_configuration = {
34
+ account_filter: Params::account_filter?,
35
+ resource_scopes: Hash[("AWS::ApiGateway::Stage" | "AWS::CloudFront::Distribution" | "AWS::EC2::EIP" | "AWS::ElasticLoadBalancingV2::LoadBalancer::application" | "AWS::ElasticLoadBalancing::LoadBalancer"), Params::resource_scope]
36
+ }
37
+
38
+ type resource_logical_expression = {
39
+ criteria: {
40
+ tags: Hash[::String, ::String]?,
41
+ alb_config: {
42
+ scheme: ("internet-facing" | "internal")?,
43
+ ip_address_type: ("ipv4" | "dualstack" | "dualstack-without-public-ipv4")?
44
+ }?
45
+ }?,
46
+ and: Array[
47
+ {
48
+ criteria: {
49
+ tags: Hash[::String, ::String]?,
50
+ alb_config: {
51
+ scheme: ("internet-facing" | "internal")?,
52
+ ip_address_type: ("ipv4" | "dualstack" | "dualstack-without-public-ipv4")?
53
+ }?
54
+ }?,
55
+ and: untyped?,
56
+ or: untyped?,
57
+ not: untyped?
58
+ }
59
+ ]?,
60
+ or: Array[
61
+ {
62
+ criteria: {
63
+ tags: Hash[::String, ::String]?,
64
+ alb_config: {
65
+ scheme: ("internet-facing" | "internal")?,
66
+ ip_address_type: ("ipv4" | "dualstack" | "dualstack-without-public-ipv4")?
67
+ }?
68
+ }?,
69
+ and: untyped?,
70
+ or: untyped?,
71
+ not: untyped?
72
+ }
73
+ ]?,
74
+ not: {
75
+ criteria: {
76
+ tags: Hash[::String, ::String]?,
77
+ alb_config: {
78
+ scheme: ("internet-facing" | "internal")?,
79
+ ip_address_type: ("ipv4" | "dualstack" | "dualstack-without-public-ipv4")?
80
+ }?
81
+ }?,
82
+ and: Array[
83
+ untyped
84
+ ]?,
85
+ or: Array[
86
+ untyped
87
+ ]?,
88
+ not: untyped?
89
+ }?
90
+ }
91
+
92
+ type resource_set = {
93
+ explicit_arns: Array[::String]?,
94
+ expression: Params::resource_logical_expression?
95
+ }
96
+
97
+ type resource_scope = {
98
+ include_all: bool?,
99
+ include: Params::resource_set?,
100
+ exclude: Params::resource_set?
101
+ }
102
+
103
+ end
104
+ end
105
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,85 @@
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 NetworkSecurityManager
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkSecurityManager/Resource.html#initialize-instance_method
13
+ def initialize: (
14
+ ?client: Client,
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?account_id: String,
19
+ ?active_endpoint_cache: bool,
20
+ ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
22
+ ?client_side_monitoring: bool,
23
+ ?client_side_monitoring_client_id: String,
24
+ ?client_side_monitoring_host: String,
25
+ ?client_side_monitoring_port: Integer,
26
+ ?client_side_monitoring_publisher: untyped,
27
+ ?convert_params: bool,
28
+ ?correct_clock_skew: bool,
29
+ ?defaults_mode: String,
30
+ ?disable_host_prefix_injection: bool,
31
+ ?disable_request_compression: bool,
32
+ ?endpoint: String,
33
+ ?endpoint_cache_max_entries: Integer,
34
+ ?endpoint_cache_max_threads: Integer,
35
+ ?endpoint_cache_poll_interval: Integer,
36
+ ?endpoint_discovery: bool,
37
+ ?ignore_configured_endpoint_urls: bool,
38
+ ?log_formatter: untyped,
39
+ ?log_level: Symbol,
40
+ ?logger: untyped,
41
+ ?max_attempts: Integer,
42
+ ?profile: String,
43
+ ?request_checksum_calculation: String,
44
+ ?request_min_compression_size_bytes: Integer,
45
+ ?response_checksum_validation: String,
46
+ ?retry_backoff: Proc,
47
+ ?retry_base_delay: Float,
48
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
49
+ ?retry_limit: Integer,
50
+ ?retry_max_delay: Integer,
51
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
52
+ ?sdk_ua_app_id: String,
53
+ ?secret_access_key: String,
54
+ ?session_token: String,
55
+ ?sigv4a_signing_region_set: Array[String],
56
+ ?stub_responses: untyped,
57
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
58
+ ?token_provider: untyped,
59
+ ?use_dualstack_endpoint: bool,
60
+ ?use_fips_endpoint: bool,
61
+ ?validate_params: bool,
62
+ ?endpoint_provider: untyped,
63
+ ?http_proxy: String,
64
+ ?http_open_timeout: (Float | Integer),
65
+ ?http_read_timeout: (Float | Integer),
66
+ ?http_idle_timeout: (Float | Integer),
67
+ ?http_continue_timeout: (Float | Integer),
68
+ ?ssl_timeout: (Float | Integer | nil),
69
+ ?http_wire_trace: bool,
70
+ ?ssl_verify_peer: bool,
71
+ ?ssl_ca_bundle: String,
72
+ ?ssl_ca_directory: String,
73
+ ?ssl_ca_store: String,
74
+ ?on_chunk_received: Proc,
75
+ ?on_chunk_sent: Proc,
76
+ ?raise_response_errors: bool
77
+ ) -> void
78
+ | (?Hash[Symbol, untyped]) -> void
79
+
80
+ def client: () -> Client
81
+
82
+
83
+ end
84
+ end
85
+ end