aws-sdk-xray 1.49.0 → 1.51.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.
@@ -27,7 +27,12 @@ module Aws::XRay
27
27
  # See {Seahorse::Client::RequestContext} for more information.
28
28
  #
29
29
  # ## Error Classes
30
+ # * {InvalidPolicyRevisionIdException}
30
31
  # * {InvalidRequestException}
32
+ # * {LockoutPreventionException}
33
+ # * {MalformedPolicyDocumentException}
34
+ # * {PolicyCountLimitExceededException}
35
+ # * {PolicySizeLimitExceededException}
31
36
  # * {ResourceNotFoundException}
32
37
  # * {RuleLimitExceededException}
33
38
  # * {ThrottledException}
@@ -39,6 +44,21 @@ module Aws::XRay
39
44
 
40
45
  extend Aws::Errors::DynamicErrors
41
46
 
47
+ class InvalidPolicyRevisionIdException < ServiceError
48
+
49
+ # @param [Seahorse::Client::RequestContext] context
50
+ # @param [String] message
51
+ # @param [Aws::XRay::Types::InvalidPolicyRevisionIdException] data
52
+ def initialize(context, message, data = Aws::EmptyStructure.new)
53
+ super(context, message, data)
54
+ end
55
+
56
+ # @return [String]
57
+ def message
58
+ @message || @data[:message]
59
+ end
60
+ end
61
+
42
62
  class InvalidRequestException < ServiceError
43
63
 
44
64
  # @param [Seahorse::Client::RequestContext] context
@@ -54,6 +74,66 @@ module Aws::XRay
54
74
  end
55
75
  end
56
76
 
77
+ class LockoutPreventionException < ServiceError
78
+
79
+ # @param [Seahorse::Client::RequestContext] context
80
+ # @param [String] message
81
+ # @param [Aws::XRay::Types::LockoutPreventionException] data
82
+ def initialize(context, message, data = Aws::EmptyStructure.new)
83
+ super(context, message, data)
84
+ end
85
+
86
+ # @return [String]
87
+ def message
88
+ @message || @data[:message]
89
+ end
90
+ end
91
+
92
+ class MalformedPolicyDocumentException < ServiceError
93
+
94
+ # @param [Seahorse::Client::RequestContext] context
95
+ # @param [String] message
96
+ # @param [Aws::XRay::Types::MalformedPolicyDocumentException] data
97
+ def initialize(context, message, data = Aws::EmptyStructure.new)
98
+ super(context, message, data)
99
+ end
100
+
101
+ # @return [String]
102
+ def message
103
+ @message || @data[:message]
104
+ end
105
+ end
106
+
107
+ class PolicyCountLimitExceededException < ServiceError
108
+
109
+ # @param [Seahorse::Client::RequestContext] context
110
+ # @param [String] message
111
+ # @param [Aws::XRay::Types::PolicyCountLimitExceededException] data
112
+ def initialize(context, message, data = Aws::EmptyStructure.new)
113
+ super(context, message, data)
114
+ end
115
+
116
+ # @return [String]
117
+ def message
118
+ @message || @data[:message]
119
+ end
120
+ end
121
+
122
+ class PolicySizeLimitExceededException < ServiceError
123
+
124
+ # @param [Seahorse::Client::RequestContext] context
125
+ # @param [String] message
126
+ # @param [Aws::XRay::Types::PolicySizeLimitExceededException] data
127
+ def initialize(context, message, data = Aws::EmptyStructure.new)
128
+ super(context, message, data)
129
+ end
130
+
131
+ # @return [String]
132
+ def message
133
+ @message || @data[:message]
134
+ end
135
+ end
136
+
57
137
  class ResourceNotFoundException < ServiceError
58
138
 
59
139
  # @param [Seahorse::Client::RequestContext] context
@@ -64,6 +64,8 @@ module Aws::XRay
64
64
  Aws::XRay::Endpoints::CreateSamplingRule.build(context)
65
65
  when :delete_group
66
66
  Aws::XRay::Endpoints::DeleteGroup.build(context)
67
+ when :delete_resource_policy
68
+ Aws::XRay::Endpoints::DeleteResourcePolicy.build(context)
67
69
  when :delete_sampling_rule
68
70
  Aws::XRay::Endpoints::DeleteSamplingRule.build(context)
69
71
  when :get_encryption_config
@@ -94,10 +96,14 @@ module Aws::XRay
94
96
  Aws::XRay::Endpoints::GetTraceGraph.build(context)
95
97
  when :get_trace_summaries
96
98
  Aws::XRay::Endpoints::GetTraceSummaries.build(context)
99
+ when :list_resource_policies
100
+ Aws::XRay::Endpoints::ListResourcePolicies.build(context)
97
101
  when :list_tags_for_resource
98
102
  Aws::XRay::Endpoints::ListTagsForResource.build(context)
99
103
  when :put_encryption_config
100
104
  Aws::XRay::Endpoints::PutEncryptionConfig.build(context)
105
+ when :put_resource_policy
106
+ Aws::XRay::Endpoints::PutResourcePolicy.build(context)
101
107
  when :put_telemetry_records
102
108
  Aws::XRay::Endpoints::PutTelemetryRecords.build(context)
103
109
  when :put_trace_segments