aws-sdk-applicationsignals 1.44.0 → 1.45.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-applicationsignals/client.rb +643 -1
- data/lib/aws-sdk-applicationsignals/client_api.rb +436 -0
- data/lib/aws-sdk-applicationsignals/types.rb +1146 -22
- data/lib/aws-sdk-applicationsignals.rb +2 -2
- data/sig/client.rbs +175 -0
- data/sig/params.rbs +14 -0
- data/sig/types.rbs +294 -0
- metadata +1 -1
|
@@ -196,6 +196,167 @@ module Aws::ApplicationSignals
|
|
|
196
196
|
include Aws::Structure
|
|
197
197
|
end
|
|
198
198
|
|
|
199
|
+
# Parameters for targeted delete by ARN list.
|
|
200
|
+
#
|
|
201
|
+
# @!attribute [rw] resource_arns
|
|
202
|
+
# List of resource ARNs to delete.
|
|
203
|
+
# @return [Array<String>]
|
|
204
|
+
#
|
|
205
|
+
# @!attribute [rw] instrumentation_type
|
|
206
|
+
# Instrumentation type: BREAKPOINT or PROBE.
|
|
207
|
+
# @return [String]
|
|
208
|
+
#
|
|
209
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/BatchDeleteByResourceArns AWS API Documentation
|
|
210
|
+
#
|
|
211
|
+
class BatchDeleteByResourceArns < Struct.new(
|
|
212
|
+
:resource_arns,
|
|
213
|
+
:instrumentation_type)
|
|
214
|
+
SENSITIVE = []
|
|
215
|
+
include Aws::Structure
|
|
216
|
+
end
|
|
217
|
+
|
|
218
|
+
# Union type for batch delete target selection. Exactly one of the two
|
|
219
|
+
# modes must be specified.
|
|
220
|
+
#
|
|
221
|
+
# @note BatchDeleteDeletionTarget is a union - when making an API calls you must set exactly one of the members.
|
|
222
|
+
#
|
|
223
|
+
# @!attribute [rw] scope
|
|
224
|
+
# Delete all configurations matching the specified scope.
|
|
225
|
+
# @return [Types::BatchDeleteScope]
|
|
226
|
+
#
|
|
227
|
+
# @!attribute [rw] resource_arns
|
|
228
|
+
# Delete specific configurations by ARN list.
|
|
229
|
+
# @return [Types::BatchDeleteByResourceArns]
|
|
230
|
+
#
|
|
231
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/BatchDeleteDeletionTarget AWS API Documentation
|
|
232
|
+
#
|
|
233
|
+
class BatchDeleteDeletionTarget < Struct.new(
|
|
234
|
+
:scope,
|
|
235
|
+
:resource_arns,
|
|
236
|
+
:unknown)
|
|
237
|
+
SENSITIVE = []
|
|
238
|
+
include Aws::Structure
|
|
239
|
+
include Aws::Structure::Union
|
|
240
|
+
|
|
241
|
+
class Scope < BatchDeleteDeletionTarget; end
|
|
242
|
+
class ResourceArns < BatchDeleteDeletionTarget; end
|
|
243
|
+
class Unknown < BatchDeleteDeletionTarget; end
|
|
244
|
+
end
|
|
245
|
+
|
|
246
|
+
# Represents an error that occurred when attempting to delete a
|
|
247
|
+
# configuration.
|
|
248
|
+
#
|
|
249
|
+
# @!attribute [rw] resource_arn
|
|
250
|
+
# ARN of the configuration that failed to delete.
|
|
251
|
+
# @return [String]
|
|
252
|
+
#
|
|
253
|
+
# @!attribute [rw] code
|
|
254
|
+
# Error code indicating the type of failure.
|
|
255
|
+
# @return [String]
|
|
256
|
+
#
|
|
257
|
+
# @!attribute [rw] message
|
|
258
|
+
# Descriptive error message.
|
|
259
|
+
# @return [String]
|
|
260
|
+
#
|
|
261
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/BatchDeleteError AWS API Documentation
|
|
262
|
+
#
|
|
263
|
+
class BatchDeleteError < Struct.new(
|
|
264
|
+
:resource_arn,
|
|
265
|
+
:code,
|
|
266
|
+
:message)
|
|
267
|
+
SENSITIVE = []
|
|
268
|
+
include Aws::Structure
|
|
269
|
+
end
|
|
270
|
+
|
|
271
|
+
# @!attribute [rw] deletion_target
|
|
272
|
+
# The deletion target - either bulk by scope or targeted by ARN list.
|
|
273
|
+
# @return [Types::BatchDeleteDeletionTarget]
|
|
274
|
+
#
|
|
275
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/BatchDeleteInstrumentationConfigurationsRequest AWS API Documentation
|
|
276
|
+
#
|
|
277
|
+
class BatchDeleteInstrumentationConfigurationsRequest < Struct.new(
|
|
278
|
+
:deletion_target)
|
|
279
|
+
SENSITIVE = []
|
|
280
|
+
include Aws::Structure
|
|
281
|
+
end
|
|
282
|
+
|
|
283
|
+
# @!attribute [rw] deleted_count
|
|
284
|
+
# Number of configurations successfully deleted. When deleting by
|
|
285
|
+
# scope, this is the total count of deleted items. When deleting by
|
|
286
|
+
# ARN list, this equals the length of SuccessfulDeletions.
|
|
287
|
+
# @return [Integer]
|
|
288
|
+
#
|
|
289
|
+
# @!attribute [rw] successful_deletions
|
|
290
|
+
# List of successfully deleted configurations. Deleting by scope
|
|
291
|
+
# populates SignalType and LocationHash per item. Deleting by ARN list
|
|
292
|
+
# populates ResourceArn per item.
|
|
293
|
+
# @return [Array<Types::BatchDeleteSuccessfulDeletion>]
|
|
294
|
+
#
|
|
295
|
+
# @!attribute [rw] errors
|
|
296
|
+
# List of configurations that failed to delete.
|
|
297
|
+
# @return [Array<Types::BatchDeleteError>]
|
|
298
|
+
#
|
|
299
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/BatchDeleteInstrumentationConfigurationsResponse AWS API Documentation
|
|
300
|
+
#
|
|
301
|
+
class BatchDeleteInstrumentationConfigurationsResponse < Struct.new(
|
|
302
|
+
:deleted_count,
|
|
303
|
+
:successful_deletions,
|
|
304
|
+
:errors)
|
|
305
|
+
SENSITIVE = []
|
|
306
|
+
include Aws::Structure
|
|
307
|
+
end
|
|
308
|
+
|
|
309
|
+
# Scope parameters for bulk delete by scope.
|
|
310
|
+
#
|
|
311
|
+
# @!attribute [rw] service
|
|
312
|
+
# Service name for the instrumentation configurations.
|
|
313
|
+
# @return [String]
|
|
314
|
+
#
|
|
315
|
+
# @!attribute [rw] environment
|
|
316
|
+
# Environment identifier for the instrumentation configurations.
|
|
317
|
+
# @return [String]
|
|
318
|
+
#
|
|
319
|
+
# @!attribute [rw] instrumentation_type
|
|
320
|
+
# Instrumentation type: BREAKPOINT or PROBE.
|
|
321
|
+
# @return [String]
|
|
322
|
+
#
|
|
323
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/BatchDeleteScope AWS API Documentation
|
|
324
|
+
#
|
|
325
|
+
class BatchDeleteScope < Struct.new(
|
|
326
|
+
:service,
|
|
327
|
+
:environment,
|
|
328
|
+
:instrumentation_type)
|
|
329
|
+
SENSITIVE = []
|
|
330
|
+
include Aws::Structure
|
|
331
|
+
end
|
|
332
|
+
|
|
333
|
+
# Represents a successfully deleted instrumentation configuration.
|
|
334
|
+
#
|
|
335
|
+
# @!attribute [rw] resource_arn
|
|
336
|
+
# ARN of the deleted configuration (populated only when deleting by
|
|
337
|
+
# ARN list).
|
|
338
|
+
# @return [String]
|
|
339
|
+
#
|
|
340
|
+
# @!attribute [rw] signal_type
|
|
341
|
+
# Signal type of the deleted configuration (populated only when
|
|
342
|
+
# deleting by scope).
|
|
343
|
+
# @return [String]
|
|
344
|
+
#
|
|
345
|
+
# @!attribute [rw] location_hash
|
|
346
|
+
# Location hash of the deleted configuration (populated only when
|
|
347
|
+
# deleting by scope).
|
|
348
|
+
# @return [String]
|
|
349
|
+
#
|
|
350
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/BatchDeleteSuccessfulDeletion AWS API Documentation
|
|
351
|
+
#
|
|
352
|
+
class BatchDeleteSuccessfulDeletion < Struct.new(
|
|
353
|
+
:resource_arn,
|
|
354
|
+
:signal_type,
|
|
355
|
+
:location_hash)
|
|
356
|
+
SENSITIVE = []
|
|
357
|
+
include Aws::Structure
|
|
358
|
+
end
|
|
359
|
+
|
|
199
360
|
# @!attribute [rw] timestamp
|
|
200
361
|
# The date and time that you want the report to be for. It is
|
|
201
362
|
# expressed as the number of milliseconds since Jan 1, 1970 00:00:00
|
|
@@ -387,6 +548,90 @@ module Aws::ApplicationSignals
|
|
|
387
548
|
include Aws::Structure
|
|
388
549
|
end
|
|
389
550
|
|
|
551
|
+
# A union that defines what data to capture when the instrumentation
|
|
552
|
+
# point is hit. Specify `CodeCapture` for code-level capture settings.
|
|
553
|
+
#
|
|
554
|
+
# @note CaptureConfiguration is a union - when making an API calls you must set exactly one of the members.
|
|
555
|
+
#
|
|
556
|
+
# @note CaptureConfiguration is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of CaptureConfiguration corresponding to the set member.
|
|
557
|
+
#
|
|
558
|
+
# @!attribute [rw] code_capture
|
|
559
|
+
# Capture settings for code-level instrumentation, including
|
|
560
|
+
# arguments, return values, stack traces, local variables, and safety
|
|
561
|
+
# limits.
|
|
562
|
+
# @return [Types::CodeCaptureConfiguration]
|
|
563
|
+
#
|
|
564
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/CaptureConfiguration AWS API Documentation
|
|
565
|
+
#
|
|
566
|
+
class CaptureConfiguration < Struct.new(
|
|
567
|
+
:code_capture,
|
|
568
|
+
:unknown)
|
|
569
|
+
SENSITIVE = []
|
|
570
|
+
include Aws::Structure
|
|
571
|
+
include Aws::Structure::Union
|
|
572
|
+
|
|
573
|
+
class CodeCapture < CaptureConfiguration; end
|
|
574
|
+
class Unknown < CaptureConfiguration; end
|
|
575
|
+
end
|
|
576
|
+
|
|
577
|
+
# Guardrails that prevent instrumentation from impacting application
|
|
578
|
+
# performance by limiting how much data is captured.
|
|
579
|
+
#
|
|
580
|
+
# @!attribute [rw] max_hits
|
|
581
|
+
# The maximum number of times the instrumentation point can be hit
|
|
582
|
+
# before it is automatically disabled. Defaults to 100.
|
|
583
|
+
# @return [Integer]
|
|
584
|
+
#
|
|
585
|
+
# @!attribute [rw] max_string_length
|
|
586
|
+
# The maximum length of captured string values in characters. Strings
|
|
587
|
+
# longer than this are truncated. Defaults to 128.
|
|
588
|
+
# @return [Integer]
|
|
589
|
+
#
|
|
590
|
+
# @!attribute [rw] max_collection_width
|
|
591
|
+
# The maximum number of items to capture from any collection to
|
|
592
|
+
# prevent large payloads. Defaults to 10.
|
|
593
|
+
# @return [Integer]
|
|
594
|
+
#
|
|
595
|
+
# @!attribute [rw] max_collection_depth
|
|
596
|
+
# The maximum nesting depth to traverse inside collections. Defaults
|
|
597
|
+
# to 3.
|
|
598
|
+
# @return [Integer]
|
|
599
|
+
#
|
|
600
|
+
# @!attribute [rw] max_stack_frames
|
|
601
|
+
# The maximum number of stack frames to capture in stack traces.
|
|
602
|
+
# Defaults to 2.
|
|
603
|
+
# @return [Integer]
|
|
604
|
+
#
|
|
605
|
+
# @!attribute [rw] max_stack_trace_size
|
|
606
|
+
# The maximum total size, in bytes, of a captured stack trace.
|
|
607
|
+
# Defaults to 1000.
|
|
608
|
+
# @return [Integer]
|
|
609
|
+
#
|
|
610
|
+
# @!attribute [rw] max_object_depth
|
|
611
|
+
# The maximum depth for nested object traversal when capturing
|
|
612
|
+
# structured data. Defaults to 3.
|
|
613
|
+
# @return [Integer]
|
|
614
|
+
#
|
|
615
|
+
# @!attribute [rw] max_fields_per_object
|
|
616
|
+
# The maximum number of fields to capture for any object. Defaults to
|
|
617
|
+
# 10.
|
|
618
|
+
# @return [Integer]
|
|
619
|
+
#
|
|
620
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/CaptureLimitsConfig AWS API Documentation
|
|
621
|
+
#
|
|
622
|
+
class CaptureLimitsConfig < Struct.new(
|
|
623
|
+
:max_hits,
|
|
624
|
+
:max_string_length,
|
|
625
|
+
:max_collection_width,
|
|
626
|
+
:max_collection_depth,
|
|
627
|
+
:max_stack_frames,
|
|
628
|
+
:max_stack_trace_size,
|
|
629
|
+
:max_object_depth,
|
|
630
|
+
:max_fields_per_object)
|
|
631
|
+
SENSITIVE = []
|
|
632
|
+
include Aws::Structure
|
|
633
|
+
end
|
|
634
|
+
|
|
390
635
|
# A structure that contains information about a change event that
|
|
391
636
|
# occurred for a service, such as a deployment or configuration change.
|
|
392
637
|
#
|
|
@@ -472,6 +717,95 @@ module Aws::ApplicationSignals
|
|
|
472
717
|
include Aws::Structure
|
|
473
718
|
end
|
|
474
719
|
|
|
720
|
+
# Defines what data to capture for code-level instrumentation, including
|
|
721
|
+
# arguments, return values, stack traces, local variables, and safety
|
|
722
|
+
# limits.
|
|
723
|
+
#
|
|
724
|
+
# @!attribute [rw] capture_arguments
|
|
725
|
+
# The function arguments to capture. Omit to capture defaults, use an
|
|
726
|
+
# empty list to capture none, use `["*"]` to capture all arguments, or
|
|
727
|
+
# specify argument names to capture selectively (up to 10 entries).
|
|
728
|
+
# @return [Array<String>]
|
|
729
|
+
#
|
|
730
|
+
# @!attribute [rw] capture_return
|
|
731
|
+
# Whether to capture the return value. Defaults to false.
|
|
732
|
+
# @return [Boolean]
|
|
733
|
+
#
|
|
734
|
+
# @!attribute [rw] capture_stack_trace
|
|
735
|
+
# Whether to capture a stack trace when the instrumentation point is
|
|
736
|
+
# hit. Defaults to true.
|
|
737
|
+
# @return [Boolean]
|
|
738
|
+
#
|
|
739
|
+
# @!attribute [rw] capture_locals
|
|
740
|
+
# The local variables to capture by name. Omit or pass an empty list
|
|
741
|
+
# to capture none. You can specify up to 20 names.
|
|
742
|
+
# @return [Array<String>]
|
|
743
|
+
#
|
|
744
|
+
# @!attribute [rw] capture_limits
|
|
745
|
+
# Safety limits that bound what is captured, including hit counts,
|
|
746
|
+
# string length, collection depth, and stack trace size.
|
|
747
|
+
# @return [Types::CaptureLimitsConfig]
|
|
748
|
+
#
|
|
749
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/CodeCaptureConfiguration AWS API Documentation
|
|
750
|
+
#
|
|
751
|
+
class CodeCaptureConfiguration < Struct.new(
|
|
752
|
+
:capture_arguments,
|
|
753
|
+
:capture_return,
|
|
754
|
+
:capture_stack_trace,
|
|
755
|
+
:capture_locals,
|
|
756
|
+
:capture_limits)
|
|
757
|
+
SENSITIVE = []
|
|
758
|
+
include Aws::Structure
|
|
759
|
+
end
|
|
760
|
+
|
|
761
|
+
# Identifies a code location to instrument, including the programming
|
|
762
|
+
# language, code unit, class, method, file path, and optional line
|
|
763
|
+
# number.
|
|
764
|
+
#
|
|
765
|
+
# @!attribute [rw] language
|
|
766
|
+
# The programming language for this instrumentation point, such as
|
|
767
|
+
# Java, Python, or JavaScript.
|
|
768
|
+
# @return [String]
|
|
769
|
+
#
|
|
770
|
+
# @!attribute [rw] code_unit
|
|
771
|
+
# The package, module, or namespace that contains the target code, for
|
|
772
|
+
# example `com.amazon.payment` or `payment_service`.
|
|
773
|
+
# @return [String]
|
|
774
|
+
#
|
|
775
|
+
# @!attribute [rw] class_name
|
|
776
|
+
# The class or type name that contains the method. This is required
|
|
777
|
+
# for Java and optional for Python module-level functions.
|
|
778
|
+
# @return [String]
|
|
779
|
+
#
|
|
780
|
+
# @!attribute [rw] method_name
|
|
781
|
+
# The method or function name to instrument, such as
|
|
782
|
+
# `validateCreditCard` or `__init__`.
|
|
783
|
+
# @return [String]
|
|
784
|
+
#
|
|
785
|
+
# @!attribute [rw] file_path
|
|
786
|
+
# The source file path relative to the project or source root, such as
|
|
787
|
+
# `src/payment/PaymentProcessor.java` or
|
|
788
|
+
# `src/payment/PaymentProcessor.py`.
|
|
789
|
+
# @return [String]
|
|
790
|
+
#
|
|
791
|
+
# @!attribute [rw] line_number
|
|
792
|
+
# The line number to instrument. Provide this to disambiguate
|
|
793
|
+
# overloaded methods and to target a specific line when needed.
|
|
794
|
+
# @return [Integer]
|
|
795
|
+
#
|
|
796
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/CodeLocation AWS API Documentation
|
|
797
|
+
#
|
|
798
|
+
class CodeLocation < Struct.new(
|
|
799
|
+
:language,
|
|
800
|
+
:code_unit,
|
|
801
|
+
:class_name,
|
|
802
|
+
:method_name,
|
|
803
|
+
:file_path,
|
|
804
|
+
:line_number)
|
|
805
|
+
SENSITIVE = []
|
|
806
|
+
include Aws::Structure
|
|
807
|
+
end
|
|
808
|
+
|
|
475
809
|
# Identifies a single operation to include in a composite SLI for a
|
|
476
810
|
# service-level SLO. Used as an element of the `Components` list in
|
|
477
811
|
# `CompositeSliConfig`.
|
|
@@ -537,6 +871,155 @@ module Aws::ApplicationSignals
|
|
|
537
871
|
include Aws::Structure
|
|
538
872
|
end
|
|
539
873
|
|
|
874
|
+
# @!attribute [rw] instrumentation_type
|
|
875
|
+
# Type of instrumentation: BREAKPOINT (temporary) or PROBE (permanent)
|
|
876
|
+
# @return [String]
|
|
877
|
+
#
|
|
878
|
+
# @!attribute [rw] service
|
|
879
|
+
# The name of the service to instrument. This should match the
|
|
880
|
+
# `service.name` resource attribute reported by the application.
|
|
881
|
+
# @return [String]
|
|
882
|
+
#
|
|
883
|
+
# @!attribute [rw] environment
|
|
884
|
+
# The environment that the service is running in, such as
|
|
885
|
+
# `eks:cluster-prod/namespace` or `ec2:production`.
|
|
886
|
+
# @return [String]
|
|
887
|
+
#
|
|
888
|
+
# @!attribute [rw] signal_type
|
|
889
|
+
# The telemetry signal type to emit for this instrumentation. The
|
|
890
|
+
# supported value is `SNAPSHOT`.
|
|
891
|
+
# @return [String]
|
|
892
|
+
#
|
|
893
|
+
# @!attribute [rw] location
|
|
894
|
+
# The location where instrumentation should be applied. Specify a
|
|
895
|
+
# `CodeLocation` for code-level instrumentation.
|
|
896
|
+
# @return [Types::Location]
|
|
897
|
+
#
|
|
898
|
+
# @!attribute [rw] description
|
|
899
|
+
# An optional short description (up to 50 characters) that explains
|
|
900
|
+
# the purpose of this instrumentation.
|
|
901
|
+
# @return [String]
|
|
902
|
+
#
|
|
903
|
+
# @!attribute [rw] expires_at
|
|
904
|
+
# For BREAKPOINT: optional, defaults to 24 hours, must be between 5
|
|
905
|
+
# min and 24 hours. For PROBE: not supported. PROBE configurations are
|
|
906
|
+
# permanent and persist until explicitly deleted.
|
|
907
|
+
# @return [Time]
|
|
908
|
+
#
|
|
909
|
+
# @!attribute [rw] attribute_filters
|
|
910
|
+
# Client-side filters that target specific instances. Each object in
|
|
911
|
+
# the array is AND-matched on its keys, and multiple objects are
|
|
912
|
+
# OR-matched to decide where to apply the instrumentation.
|
|
913
|
+
# @return [Array<Hash<String,String>>]
|
|
914
|
+
#
|
|
915
|
+
# @!attribute [rw] capture_configuration
|
|
916
|
+
# Specifies what to capture when the instrumentation point is hit.
|
|
917
|
+
# Specify `CodeCapture` for code-level capture settings.
|
|
918
|
+
# @return [Types::CaptureConfiguration]
|
|
919
|
+
#
|
|
920
|
+
# @!attribute [rw] tags
|
|
921
|
+
# An optional list of key-value pairs to associate with the
|
|
922
|
+
# instrumentation configuration. Tags can help you organize and
|
|
923
|
+
# categorize your resources.
|
|
924
|
+
# @return [Array<Types::Tag>]
|
|
925
|
+
#
|
|
926
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/CreateInstrumentationConfigurationRequest AWS API Documentation
|
|
927
|
+
#
|
|
928
|
+
class CreateInstrumentationConfigurationRequest < Struct.new(
|
|
929
|
+
:instrumentation_type,
|
|
930
|
+
:service,
|
|
931
|
+
:environment,
|
|
932
|
+
:signal_type,
|
|
933
|
+
:location,
|
|
934
|
+
:description,
|
|
935
|
+
:expires_at,
|
|
936
|
+
:attribute_filters,
|
|
937
|
+
:capture_configuration,
|
|
938
|
+
:tags)
|
|
939
|
+
SENSITIVE = []
|
|
940
|
+
include Aws::Structure
|
|
941
|
+
end
|
|
942
|
+
|
|
943
|
+
# @!attribute [rw] instrumentation_type
|
|
944
|
+
# The type of instrumentation that was created, echoed from the
|
|
945
|
+
# request.
|
|
946
|
+
# @return [String]
|
|
947
|
+
#
|
|
948
|
+
# @!attribute [rw] service
|
|
949
|
+
# The service name for the instrumentation configuration, echoed from
|
|
950
|
+
# the request.
|
|
951
|
+
# @return [String]
|
|
952
|
+
#
|
|
953
|
+
# @!attribute [rw] environment
|
|
954
|
+
# The environment for the instrumentation configuration, echoed from
|
|
955
|
+
# the request.
|
|
956
|
+
# @return [String]
|
|
957
|
+
#
|
|
958
|
+
# @!attribute [rw] signal_type
|
|
959
|
+
# The telemetry signal type for the instrumentation configuration,
|
|
960
|
+
# echoed from the request.
|
|
961
|
+
# @return [String]
|
|
962
|
+
#
|
|
963
|
+
# @!attribute [rw] location
|
|
964
|
+
# The location where instrumentation is applied, echoed from the
|
|
965
|
+
# request.
|
|
966
|
+
# @return [Types::Location]
|
|
967
|
+
#
|
|
968
|
+
# @!attribute [rw] location_hash
|
|
969
|
+
# A stable hash computed from the location that uniquely identifies
|
|
970
|
+
# this instrumentation point within the service, environment, and
|
|
971
|
+
# signal type.
|
|
972
|
+
# @return [String]
|
|
973
|
+
#
|
|
974
|
+
# @!attribute [rw] description
|
|
975
|
+
# The optional description that was stored with the instrumentation
|
|
976
|
+
# configuration.
|
|
977
|
+
# @return [String]
|
|
978
|
+
#
|
|
979
|
+
# @!attribute [rw] expires_at
|
|
980
|
+
# The timestamp after which this configuration is no longer served to
|
|
981
|
+
# clients. Present only for `BREAKPOINT` configurations; `PROBE`
|
|
982
|
+
# configurations do not expire.
|
|
983
|
+
# @return [Time]
|
|
984
|
+
#
|
|
985
|
+
# @!attribute [rw] attribute_filters
|
|
986
|
+
# The attribute filters returned with the configuration so SDKs can
|
|
987
|
+
# perform client-side targeting.
|
|
988
|
+
# @return [Array<Hash<String,String>>]
|
|
989
|
+
#
|
|
990
|
+
# @!attribute [rw] capture_configuration
|
|
991
|
+
# The capture settings that were stored for this instrumentation
|
|
992
|
+
# configuration.
|
|
993
|
+
# @return [Types::CaptureConfiguration]
|
|
994
|
+
#
|
|
995
|
+
# @!attribute [rw] created_at
|
|
996
|
+
# The server-generated creation timestamp for this instrumentation
|
|
997
|
+
# configuration.
|
|
998
|
+
# @return [Time]
|
|
999
|
+
#
|
|
1000
|
+
# @!attribute [rw] arn
|
|
1001
|
+
# ARN for the created instrumentation configuration
|
|
1002
|
+
# @return [String]
|
|
1003
|
+
#
|
|
1004
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/CreateInstrumentationConfigurationResponse AWS API Documentation
|
|
1005
|
+
#
|
|
1006
|
+
class CreateInstrumentationConfigurationResponse < Struct.new(
|
|
1007
|
+
:instrumentation_type,
|
|
1008
|
+
:service,
|
|
1009
|
+
:environment,
|
|
1010
|
+
:signal_type,
|
|
1011
|
+
:location,
|
|
1012
|
+
:location_hash,
|
|
1013
|
+
:description,
|
|
1014
|
+
:expires_at,
|
|
1015
|
+
:attribute_filters,
|
|
1016
|
+
:capture_configuration,
|
|
1017
|
+
:created_at,
|
|
1018
|
+
:arn)
|
|
1019
|
+
SENSITIVE = []
|
|
1020
|
+
include Aws::Structure
|
|
1021
|
+
end
|
|
1022
|
+
|
|
540
1023
|
# @!attribute [rw] name
|
|
541
1024
|
# A name for this SLO.
|
|
542
1025
|
# @return [String]
|
|
@@ -632,6 +1115,53 @@ module Aws::ApplicationSignals
|
|
|
632
1115
|
#
|
|
633
1116
|
class DeleteGroupingConfigurationOutput < Aws::EmptyStructure; end
|
|
634
1117
|
|
|
1118
|
+
# @!attribute [rw] instrumentation_type
|
|
1119
|
+
# Type of instrumentation configuration (BREAKPOINT or PROBE).
|
|
1120
|
+
# Required to identify the configuration to delete.
|
|
1121
|
+
# @return [String]
|
|
1122
|
+
#
|
|
1123
|
+
# @!attribute [rw] service
|
|
1124
|
+
# Service name for the instrumentation configuration.
|
|
1125
|
+
# @return [String]
|
|
1126
|
+
#
|
|
1127
|
+
# @!attribute [rw] environment
|
|
1128
|
+
# Environment name for the instrumentation configuration.
|
|
1129
|
+
# @return [String]
|
|
1130
|
+
#
|
|
1131
|
+
# @!attribute [rw] signal_type
|
|
1132
|
+
# Signal type for the instrumentation configuration.
|
|
1133
|
+
# @return [String]
|
|
1134
|
+
#
|
|
1135
|
+
# @!attribute [rw] location_identifier
|
|
1136
|
+
# Location identifier - either full code location or a pre-computed
|
|
1137
|
+
# hash.
|
|
1138
|
+
# @return [Types::LocationIdentifier]
|
|
1139
|
+
#
|
|
1140
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/DeleteInstrumentationConfigurationRequest AWS API Documentation
|
|
1141
|
+
#
|
|
1142
|
+
class DeleteInstrumentationConfigurationRequest < Struct.new(
|
|
1143
|
+
:instrumentation_type,
|
|
1144
|
+
:service,
|
|
1145
|
+
:environment,
|
|
1146
|
+
:signal_type,
|
|
1147
|
+
:location_identifier)
|
|
1148
|
+
SENSITIVE = []
|
|
1149
|
+
include Aws::Structure
|
|
1150
|
+
end
|
|
1151
|
+
|
|
1152
|
+
# @!attribute [rw] deletion_status
|
|
1153
|
+
# The result of the delete request. The value is `DELETED` when the
|
|
1154
|
+
# configuration has been removed.
|
|
1155
|
+
# @return [String]
|
|
1156
|
+
#
|
|
1157
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/DeleteInstrumentationConfigurationResponse AWS API Documentation
|
|
1158
|
+
#
|
|
1159
|
+
class DeleteInstrumentationConfigurationResponse < Struct.new(
|
|
1160
|
+
:deletion_status)
|
|
1161
|
+
SENSITIVE = []
|
|
1162
|
+
include Aws::Structure
|
|
1163
|
+
end
|
|
1164
|
+
|
|
635
1165
|
# @!attribute [rw] id
|
|
636
1166
|
# The ARN or name of the service level objective to delete.
|
|
637
1167
|
# @return [String]
|
|
@@ -780,35 +1310,193 @@ module Aws::ApplicationSignals
|
|
|
780
1310
|
include Aws::Structure
|
|
781
1311
|
end
|
|
782
1312
|
|
|
783
|
-
# The core SLO time window exclusion object that includes Window,
|
|
784
|
-
# StartTime, RecurrenceRule, and Reason.
|
|
1313
|
+
# The core SLO time window exclusion object that includes Window,
|
|
1314
|
+
# StartTime, RecurrenceRule, and Reason.
|
|
1315
|
+
#
|
|
1316
|
+
# @!attribute [rw] window
|
|
1317
|
+
# The SLO time window exclusion .
|
|
1318
|
+
# @return [Types::Window]
|
|
1319
|
+
#
|
|
1320
|
+
# @!attribute [rw] start_time
|
|
1321
|
+
# The start of the SLO time window exclusion. Defaults to current time
|
|
1322
|
+
# if not specified.
|
|
1323
|
+
# @return [Time]
|
|
1324
|
+
#
|
|
1325
|
+
# @!attribute [rw] recurrence_rule
|
|
1326
|
+
# The recurrence rule for the SLO time window exclusion. Supports both
|
|
1327
|
+
# cron and rate expressions.
|
|
1328
|
+
# @return [Types::RecurrenceRule]
|
|
1329
|
+
#
|
|
1330
|
+
# @!attribute [rw] reason
|
|
1331
|
+
# A description explaining why this time period should be excluded
|
|
1332
|
+
# from SLO calculations.
|
|
1333
|
+
# @return [String]
|
|
1334
|
+
#
|
|
1335
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ExclusionWindow AWS API Documentation
|
|
1336
|
+
#
|
|
1337
|
+
class ExclusionWindow < Struct.new(
|
|
1338
|
+
:window,
|
|
1339
|
+
:start_time,
|
|
1340
|
+
:recurrence_rule,
|
|
1341
|
+
:reason)
|
|
1342
|
+
SENSITIVE = []
|
|
1343
|
+
include Aws::Structure
|
|
1344
|
+
end
|
|
1345
|
+
|
|
1346
|
+
# @!attribute [rw] instrumentation_type
|
|
1347
|
+
# Type of instrumentation configuration (BREAKPOINT or PROBE).
|
|
1348
|
+
# Required to identify the configuration to retrieve.
|
|
1349
|
+
# @return [String]
|
|
1350
|
+
#
|
|
1351
|
+
# @!attribute [rw] service
|
|
1352
|
+
# Service name for the instrumentation configuration.
|
|
1353
|
+
# @return [String]
|
|
1354
|
+
#
|
|
1355
|
+
# @!attribute [rw] environment
|
|
1356
|
+
# Environment name for the instrumentation configuration.
|
|
1357
|
+
# @return [String]
|
|
1358
|
+
#
|
|
1359
|
+
# @!attribute [rw] signal_type
|
|
1360
|
+
# Signal type for the instrumentation configuration.
|
|
1361
|
+
# @return [String]
|
|
1362
|
+
#
|
|
1363
|
+
# @!attribute [rw] location_identifier
|
|
1364
|
+
# Location identifier - either full code location or a pre-computed
|
|
1365
|
+
# hash.
|
|
1366
|
+
# @return [Types::LocationIdentifier]
|
|
1367
|
+
#
|
|
1368
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/GetInstrumentationConfigurationRequest AWS API Documentation
|
|
1369
|
+
#
|
|
1370
|
+
class GetInstrumentationConfigurationRequest < Struct.new(
|
|
1371
|
+
:instrumentation_type,
|
|
1372
|
+
:service,
|
|
1373
|
+
:environment,
|
|
1374
|
+
:signal_type,
|
|
1375
|
+
:location_identifier)
|
|
1376
|
+
SENSITIVE = []
|
|
1377
|
+
include Aws::Structure
|
|
1378
|
+
end
|
|
1379
|
+
|
|
1380
|
+
# @!attribute [rw] configuration
|
|
1381
|
+
# The complete instrumentation configuration, including its location
|
|
1382
|
+
# hash, capture settings, filters, expiration, and creation time.
|
|
1383
|
+
# @return [Types::InstrumentationConfiguration]
|
|
1384
|
+
#
|
|
1385
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/GetInstrumentationConfigurationResponse AWS API Documentation
|
|
1386
|
+
#
|
|
1387
|
+
class GetInstrumentationConfigurationResponse < Struct.new(
|
|
1388
|
+
:configuration)
|
|
1389
|
+
SENSITIVE = []
|
|
1390
|
+
include Aws::Structure
|
|
1391
|
+
end
|
|
1392
|
+
|
|
1393
|
+
# @!attribute [rw] instrumentation_type
|
|
1394
|
+
# Type of instrumentation configuration (BREAKPOINT or PROBE).
|
|
1395
|
+
# Required to identify the configuration to retrieve.
|
|
1396
|
+
# @return [String]
|
|
1397
|
+
#
|
|
1398
|
+
# @!attribute [rw] service
|
|
1399
|
+
# Service name for the instrumentation configuration.
|
|
1400
|
+
# @return [String]
|
|
1401
|
+
#
|
|
1402
|
+
# @!attribute [rw] environment
|
|
1403
|
+
# Environment name for the instrumentation configuration.
|
|
1404
|
+
# @return [String]
|
|
1405
|
+
#
|
|
1406
|
+
# @!attribute [rw] signal_type
|
|
1407
|
+
# Signal type for the instrumentation configuration.
|
|
1408
|
+
# @return [String]
|
|
1409
|
+
#
|
|
1410
|
+
# @!attribute [rw] location_identifier
|
|
1411
|
+
# Location identifier - either full code location or a pre-computed
|
|
1412
|
+
# hash.
|
|
1413
|
+
# @return [Types::LocationIdentifier]
|
|
1414
|
+
#
|
|
1415
|
+
# @!attribute [rw] status
|
|
1416
|
+
# The single status to query for. If omitted, only `ACTIVE` status
|
|
1417
|
+
# events are returned.
|
|
1418
|
+
# @return [String]
|
|
1419
|
+
#
|
|
1420
|
+
# @!attribute [rw] start_time
|
|
1421
|
+
# The start of the time range to retrieve status events for.
|
|
1422
|
+
# `StartTime` and `EndTime` must both be provided together or both be
|
|
1423
|
+
# omitted. When both are omitted, the time range defaults to the last
|
|
1424
|
+
# hour.
|
|
1425
|
+
# @return [Time]
|
|
1426
|
+
#
|
|
1427
|
+
# @!attribute [rw] end_time
|
|
1428
|
+
# The end of the time range to retrieve status events for. `StartTime`
|
|
1429
|
+
# and `EndTime` must both be provided together or both be omitted.
|
|
1430
|
+
# When both are omitted, the time range defaults to the last hour.
|
|
1431
|
+
# @return [Time]
|
|
1432
|
+
#
|
|
1433
|
+
# @!attribute [rw] max_results
|
|
1434
|
+
# The maximum number of status events to return in one call. The
|
|
1435
|
+
# default is 60.
|
|
1436
|
+
# @return [Integer]
|
|
1437
|
+
#
|
|
1438
|
+
# @!attribute [rw] next_token
|
|
1439
|
+
# Use the token returned by a previous call to retrieve the next page
|
|
1440
|
+
# of status events.
|
|
1441
|
+
# @return [String]
|
|
1442
|
+
#
|
|
1443
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/GetInstrumentationConfigurationStatusRequest AWS API Documentation
|
|
1444
|
+
#
|
|
1445
|
+
class GetInstrumentationConfigurationStatusRequest < Struct.new(
|
|
1446
|
+
:instrumentation_type,
|
|
1447
|
+
:service,
|
|
1448
|
+
:environment,
|
|
1449
|
+
:signal_type,
|
|
1450
|
+
:location_identifier,
|
|
1451
|
+
:status,
|
|
1452
|
+
:start_time,
|
|
1453
|
+
:end_time,
|
|
1454
|
+
:max_results,
|
|
1455
|
+
:next_token)
|
|
1456
|
+
SENSITIVE = []
|
|
1457
|
+
include Aws::Structure
|
|
1458
|
+
end
|
|
1459
|
+
|
|
1460
|
+
# @!attribute [rw] service
|
|
1461
|
+
# The service name echoed from the request.
|
|
1462
|
+
# @return [String]
|
|
785
1463
|
#
|
|
786
|
-
# @!attribute [rw]
|
|
787
|
-
# The
|
|
788
|
-
# @return [
|
|
1464
|
+
# @!attribute [rw] environment
|
|
1465
|
+
# The environment echoed from the request.
|
|
1466
|
+
# @return [String]
|
|
789
1467
|
#
|
|
790
|
-
# @!attribute [rw]
|
|
791
|
-
# The
|
|
792
|
-
#
|
|
793
|
-
# @return [Time]
|
|
1468
|
+
# @!attribute [rw] signal_type
|
|
1469
|
+
# The telemetry signal type echoed from the request.
|
|
1470
|
+
# @return [String]
|
|
794
1471
|
#
|
|
795
|
-
# @!attribute [rw]
|
|
796
|
-
# The
|
|
797
|
-
#
|
|
798
|
-
# @return [Types::RecurrenceRule]
|
|
1472
|
+
# @!attribute [rw] location
|
|
1473
|
+
# The code location echoed from the request.
|
|
1474
|
+
# @return [Types::Location]
|
|
799
1475
|
#
|
|
800
|
-
# @!attribute [rw]
|
|
801
|
-
#
|
|
802
|
-
#
|
|
1476
|
+
# @!attribute [rw] status
|
|
1477
|
+
# The status that was queried. If not specified in the request, this
|
|
1478
|
+
# is `ACTIVE`.
|
|
803
1479
|
# @return [String]
|
|
804
1480
|
#
|
|
805
|
-
#
|
|
1481
|
+
# @!attribute [rw] events
|
|
1482
|
+
# The list of status events within the requested time window, sorted
|
|
1483
|
+
# with the most recent first. Error events include an error cause.
|
|
1484
|
+
# @return [Array<Types::InstrumentationStatusEvent>]
|
|
806
1485
|
#
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
1486
|
+
# @!attribute [rw] next_token
|
|
1487
|
+
# Pagination token to continue retrieving status events.
|
|
1488
|
+
# @return [String]
|
|
1489
|
+
#
|
|
1490
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/GetInstrumentationConfigurationStatusResponse AWS API Documentation
|
|
1491
|
+
#
|
|
1492
|
+
class GetInstrumentationConfigurationStatusResponse < Struct.new(
|
|
1493
|
+
:service,
|
|
1494
|
+
:environment,
|
|
1495
|
+
:signal_type,
|
|
1496
|
+
:location,
|
|
1497
|
+
:status,
|
|
1498
|
+
:events,
|
|
1499
|
+
:next_token)
|
|
812
1500
|
SENSITIVE = []
|
|
813
1501
|
include Aws::Structure
|
|
814
1502
|
end
|
|
@@ -1042,6 +1730,255 @@ module Aws::ApplicationSignals
|
|
|
1042
1730
|
include Aws::Structure
|
|
1043
1731
|
end
|
|
1044
1732
|
|
|
1733
|
+
# The full instrumentation configuration, including the instrumentation
|
|
1734
|
+
# type, service, environment, signal type, location details, stable
|
|
1735
|
+
# location hash, capture settings, filters, expiration, creation time,
|
|
1736
|
+
# and ARN.
|
|
1737
|
+
#
|
|
1738
|
+
# @!attribute [rw] instrumentation_type
|
|
1739
|
+
# The type of instrumentation for this configuration.
|
|
1740
|
+
# @return [String]
|
|
1741
|
+
#
|
|
1742
|
+
# @!attribute [rw] service
|
|
1743
|
+
# The service that this instrumentation configuration targets.
|
|
1744
|
+
# @return [String]
|
|
1745
|
+
#
|
|
1746
|
+
# @!attribute [rw] environment
|
|
1747
|
+
# The environment where the service is running.
|
|
1748
|
+
# @return [String]
|
|
1749
|
+
#
|
|
1750
|
+
# @!attribute [rw] signal_type
|
|
1751
|
+
# The telemetry signal type for this instrumentation configuration.
|
|
1752
|
+
# @return [String]
|
|
1753
|
+
#
|
|
1754
|
+
# @!attribute [rw] location
|
|
1755
|
+
# The location where this instrumentation is applied.
|
|
1756
|
+
# @return [Types::Location]
|
|
1757
|
+
#
|
|
1758
|
+
# @!attribute [rw] location_hash
|
|
1759
|
+
# The stable hash derived from the location that uniquely identifies
|
|
1760
|
+
# this instrumentation point within the service and environment.
|
|
1761
|
+
# @return [String]
|
|
1762
|
+
#
|
|
1763
|
+
# @!attribute [rw] description
|
|
1764
|
+
# An optional short description of the instrumentation configuration.
|
|
1765
|
+
# @return [String]
|
|
1766
|
+
#
|
|
1767
|
+
# @!attribute [rw] expires_at
|
|
1768
|
+
# The timestamp when this configuration expires.
|
|
1769
|
+
# @return [Time]
|
|
1770
|
+
#
|
|
1771
|
+
# @!attribute [rw] attribute_filters
|
|
1772
|
+
# Client-side filters that determine which instances apply this
|
|
1773
|
+
# instrumentation.
|
|
1774
|
+
# @return [Array<Hash<String,String>>]
|
|
1775
|
+
#
|
|
1776
|
+
# @!attribute [rw] capture_configuration
|
|
1777
|
+
# The capture settings for this instrumentation configuration.
|
|
1778
|
+
# @return [Types::CaptureConfiguration]
|
|
1779
|
+
#
|
|
1780
|
+
# @!attribute [rw] created_at
|
|
1781
|
+
# The timestamp when this instrumentation configuration was created.
|
|
1782
|
+
# @return [Time]
|
|
1783
|
+
#
|
|
1784
|
+
# @!attribute [rw] arn
|
|
1785
|
+
# ARN for the instrumentation configuration
|
|
1786
|
+
# @return [String]
|
|
1787
|
+
#
|
|
1788
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/InstrumentationConfiguration AWS API Documentation
|
|
1789
|
+
#
|
|
1790
|
+
class InstrumentationConfiguration < Struct.new(
|
|
1791
|
+
:instrumentation_type,
|
|
1792
|
+
:service,
|
|
1793
|
+
:environment,
|
|
1794
|
+
:signal_type,
|
|
1795
|
+
:location,
|
|
1796
|
+
:location_hash,
|
|
1797
|
+
:description,
|
|
1798
|
+
:expires_at,
|
|
1799
|
+
:attribute_filters,
|
|
1800
|
+
:capture_configuration,
|
|
1801
|
+
:created_at,
|
|
1802
|
+
:arn)
|
|
1803
|
+
SENSITIVE = []
|
|
1804
|
+
include Aws::Structure
|
|
1805
|
+
end
|
|
1806
|
+
|
|
1807
|
+
# The status of a single instrumentation configuration reported by an
|
|
1808
|
+
# SDK instance.
|
|
1809
|
+
#
|
|
1810
|
+
# @!attribute [rw] instrumentation_type
|
|
1811
|
+
# The type of instrumentation configuration being reported.
|
|
1812
|
+
# @return [String]
|
|
1813
|
+
#
|
|
1814
|
+
# @!attribute [rw] signal_type
|
|
1815
|
+
# The telemetry signal type for this instrumentation configuration.
|
|
1816
|
+
# @return [String]
|
|
1817
|
+
#
|
|
1818
|
+
# @!attribute [rw] location_hash
|
|
1819
|
+
# The stable hash of the instrumentation location that identifies the
|
|
1820
|
+
# configuration being reported.
|
|
1821
|
+
# @return [String]
|
|
1822
|
+
#
|
|
1823
|
+
# @!attribute [rw] status
|
|
1824
|
+
# The status of the instrumentation configuration: `READY`, `ERROR`,
|
|
1825
|
+
# `ACTIVE`, or `DISABLED`.
|
|
1826
|
+
# @return [String]
|
|
1827
|
+
#
|
|
1828
|
+
# @!attribute [rw] time
|
|
1829
|
+
# The timestamp when the status event occurred.
|
|
1830
|
+
# @return [Time]
|
|
1831
|
+
#
|
|
1832
|
+
# @!attribute [rw] error_cause
|
|
1833
|
+
# The error cause when the status is `ERROR`, such as the file or
|
|
1834
|
+
# method not being found.
|
|
1835
|
+
# @return [String]
|
|
1836
|
+
#
|
|
1837
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/InstrumentationConfigurationStatusReport AWS API Documentation
|
|
1838
|
+
#
|
|
1839
|
+
class InstrumentationConfigurationStatusReport < Struct.new(
|
|
1840
|
+
:instrumentation_type,
|
|
1841
|
+
:signal_type,
|
|
1842
|
+
:location_hash,
|
|
1843
|
+
:status,
|
|
1844
|
+
:time,
|
|
1845
|
+
:error_cause)
|
|
1846
|
+
SENSITIVE = []
|
|
1847
|
+
include Aws::Structure
|
|
1848
|
+
end
|
|
1849
|
+
|
|
1850
|
+
# An instrumentation configuration that omits service and environment
|
|
1851
|
+
# because they are provided at a higher level, such as in a list
|
|
1852
|
+
# response.
|
|
1853
|
+
#
|
|
1854
|
+
# @!attribute [rw] instrumentation_type
|
|
1855
|
+
# The type of instrumentation for this configuration.
|
|
1856
|
+
# @return [String]
|
|
1857
|
+
#
|
|
1858
|
+
# @!attribute [rw] signal_type
|
|
1859
|
+
# The telemetry signal type for this instrumentation configuration.
|
|
1860
|
+
# @return [String]
|
|
1861
|
+
#
|
|
1862
|
+
# @!attribute [rw] location
|
|
1863
|
+
# The location where this instrumentation is applied.
|
|
1864
|
+
# @return [Types::Location]
|
|
1865
|
+
#
|
|
1866
|
+
# @!attribute [rw] location_hash
|
|
1867
|
+
# The stable hash derived from the location that identifies this
|
|
1868
|
+
# instrumentation point.
|
|
1869
|
+
# @return [String]
|
|
1870
|
+
#
|
|
1871
|
+
# @!attribute [rw] description
|
|
1872
|
+
# An optional short description of the instrumentation configuration.
|
|
1873
|
+
# @return [String]
|
|
1874
|
+
#
|
|
1875
|
+
# @!attribute [rw] expires_at
|
|
1876
|
+
# The timestamp when this configuration expires.
|
|
1877
|
+
# @return [Time]
|
|
1878
|
+
#
|
|
1879
|
+
# @!attribute [rw] attribute_filters
|
|
1880
|
+
# Client-side filters that determine which instances apply this
|
|
1881
|
+
# instrumentation.
|
|
1882
|
+
# @return [Array<Hash<String,String>>]
|
|
1883
|
+
#
|
|
1884
|
+
# @!attribute [rw] capture_configuration
|
|
1885
|
+
# The capture settings for this instrumentation configuration.
|
|
1886
|
+
# @return [Types::CaptureConfiguration]
|
|
1887
|
+
#
|
|
1888
|
+
# @!attribute [rw] created_at
|
|
1889
|
+
# The timestamp when this instrumentation configuration was created.
|
|
1890
|
+
# @return [Time]
|
|
1891
|
+
#
|
|
1892
|
+
# @!attribute [rw] arn
|
|
1893
|
+
# ARN for the instrumentation configuration
|
|
1894
|
+
# @return [String]
|
|
1895
|
+
#
|
|
1896
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/InstrumentationConfigurationWithoutServiceEnv AWS API Documentation
|
|
1897
|
+
#
|
|
1898
|
+
class InstrumentationConfigurationWithoutServiceEnv < Struct.new(
|
|
1899
|
+
:instrumentation_type,
|
|
1900
|
+
:signal_type,
|
|
1901
|
+
:location,
|
|
1902
|
+
:location_hash,
|
|
1903
|
+
:description,
|
|
1904
|
+
:expires_at,
|
|
1905
|
+
:attribute_filters,
|
|
1906
|
+
:capture_configuration,
|
|
1907
|
+
:created_at,
|
|
1908
|
+
:arn)
|
|
1909
|
+
SENSITIVE = []
|
|
1910
|
+
include Aws::Structure
|
|
1911
|
+
end
|
|
1912
|
+
|
|
1913
|
+
# @!attribute [rw] service
|
|
1914
|
+
# The service name associated with the returned configurations.
|
|
1915
|
+
# @return [String]
|
|
1916
|
+
#
|
|
1917
|
+
# @!attribute [rw] environment
|
|
1918
|
+
# The environment associated with the returned configurations.
|
|
1919
|
+
# @return [String]
|
|
1920
|
+
#
|
|
1921
|
+
# @!attribute [rw] changed
|
|
1922
|
+
# Indicates whether there are configuration changes since the provided
|
|
1923
|
+
# `SyncedAt` timestamp.
|
|
1924
|
+
# @return [Boolean]
|
|
1925
|
+
#
|
|
1926
|
+
# @!attribute [rw] latest_configurations
|
|
1927
|
+
# The current set of active instrumentation configurations for the
|
|
1928
|
+
# service and environment. Items omit service and environment because
|
|
1929
|
+
# they are provided in the request.
|
|
1930
|
+
# @return [Array<Types::InstrumentationConfigurationWithoutServiceEnv>]
|
|
1931
|
+
#
|
|
1932
|
+
# @!attribute [rw] synced_at
|
|
1933
|
+
# The server timestamp to supply on the next sync call.
|
|
1934
|
+
# @return [Time]
|
|
1935
|
+
#
|
|
1936
|
+
# @!attribute [rw] sync_interval
|
|
1937
|
+
# The suggested number of seconds to wait before the next sync
|
|
1938
|
+
# request. This is at least 60 seconds to prevent excessive polling.
|
|
1939
|
+
# @return [Integer]
|
|
1940
|
+
#
|
|
1941
|
+
# @!attribute [rw] next_token
|
|
1942
|
+
# Pagination token to continue listing configurations when more
|
|
1943
|
+
# results are available.
|
|
1944
|
+
# @return [String]
|
|
1945
|
+
#
|
|
1946
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/InstrumentationConfigurationsPage AWS API Documentation
|
|
1947
|
+
#
|
|
1948
|
+
class InstrumentationConfigurationsPage < Struct.new(
|
|
1949
|
+
:service,
|
|
1950
|
+
:environment,
|
|
1951
|
+
:changed,
|
|
1952
|
+
:latest_configurations,
|
|
1953
|
+
:synced_at,
|
|
1954
|
+
:sync_interval,
|
|
1955
|
+
:next_token)
|
|
1956
|
+
SENSITIVE = []
|
|
1957
|
+
include Aws::Structure
|
|
1958
|
+
end
|
|
1959
|
+
|
|
1960
|
+
# A status event for an instrumentation configuration returned by
|
|
1961
|
+
# `GetInstrumentationConfigurationStatus`. Events include the timestamp
|
|
1962
|
+
# and, for errors, an error cause.
|
|
1963
|
+
#
|
|
1964
|
+
# @!attribute [rw] time
|
|
1965
|
+
# The time when the status was reported, rounded to the nearest
|
|
1966
|
+
# minute.
|
|
1967
|
+
# @return [Time]
|
|
1968
|
+
#
|
|
1969
|
+
# @!attribute [rw] error_cause
|
|
1970
|
+
# The error cause when the status is `ERROR`.
|
|
1971
|
+
# @return [String]
|
|
1972
|
+
#
|
|
1973
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/InstrumentationStatusEvent AWS API Documentation
|
|
1974
|
+
#
|
|
1975
|
+
class InstrumentationStatusEvent < Struct.new(
|
|
1976
|
+
:time,
|
|
1977
|
+
:error_cause)
|
|
1978
|
+
SENSITIVE = []
|
|
1979
|
+
include Aws::Structure
|
|
1980
|
+
end
|
|
1981
|
+
|
|
1045
1982
|
# The time period used to evaluate the SLO. It can be either a calendar
|
|
1046
1983
|
# interval or rolling interval.
|
|
1047
1984
|
#
|
|
@@ -1364,6 +2301,49 @@ module Aws::ApplicationSignals
|
|
|
1364
2301
|
include Aws::Structure
|
|
1365
2302
|
end
|
|
1366
2303
|
|
|
2304
|
+
# @!attribute [rw] service
|
|
2305
|
+
# The name of the service to retrieve instrumentation configurations
|
|
2306
|
+
# for.
|
|
2307
|
+
# @return [String]
|
|
2308
|
+
#
|
|
2309
|
+
# @!attribute [rw] environment
|
|
2310
|
+
# The environment that the service is running in.
|
|
2311
|
+
# @return [String]
|
|
2312
|
+
#
|
|
2313
|
+
# @!attribute [rw] instrumentation_type
|
|
2314
|
+
# Type of instrumentation configuration (BREAKPOINT or PROBE).
|
|
2315
|
+
# Required to determine which backing store to query.
|
|
2316
|
+
# @return [String]
|
|
2317
|
+
#
|
|
2318
|
+
# @!attribute [rw] synced_at
|
|
2319
|
+
# The timestamp from the last successful sync. When provided, the
|
|
2320
|
+
# response returns `Changed` as `false` if nothing is new since this
|
|
2321
|
+
# time, or returns the latest configurations when changes exist.
|
|
2322
|
+
# @return [Time]
|
|
2323
|
+
#
|
|
2324
|
+
# @!attribute [rw] max_results
|
|
2325
|
+
# The maximum number of configurations to return in one call. The
|
|
2326
|
+
# default is 50 and the maximum is 100.
|
|
2327
|
+
# @return [Integer]
|
|
2328
|
+
#
|
|
2329
|
+
# @!attribute [rw] next_token
|
|
2330
|
+
# Use the token returned by a previous call to retrieve the next page
|
|
2331
|
+
# of configurations.
|
|
2332
|
+
# @return [String]
|
|
2333
|
+
#
|
|
2334
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ListInstrumentationConfigurationsRequest AWS API Documentation
|
|
2335
|
+
#
|
|
2336
|
+
class ListInstrumentationConfigurationsRequest < Struct.new(
|
|
2337
|
+
:service,
|
|
2338
|
+
:environment,
|
|
2339
|
+
:instrumentation_type,
|
|
2340
|
+
:synced_at,
|
|
2341
|
+
:max_results,
|
|
2342
|
+
:next_token)
|
|
2343
|
+
SENSITIVE = []
|
|
2344
|
+
include Aws::Structure
|
|
2345
|
+
end
|
|
2346
|
+
|
|
1367
2347
|
# @!attribute [rw] start_time
|
|
1368
2348
|
# The start of the time period to retrieve information about. When
|
|
1369
2349
|
# used in a raw HTTP Query API, it is formatted as be epoch time in
|
|
@@ -2050,6 +3030,60 @@ module Aws::ApplicationSignals
|
|
|
2050
3030
|
include Aws::Structure
|
|
2051
3031
|
end
|
|
2052
3032
|
|
|
3033
|
+
# A union that identifies the location to instrument. Specify a
|
|
3034
|
+
# `CodeLocation` for code-level instrumentation.
|
|
3035
|
+
#
|
|
3036
|
+
# @note Location is a union - when making an API calls you must set exactly one of the members.
|
|
3037
|
+
#
|
|
3038
|
+
# @note Location is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Location corresponding to the set member.
|
|
3039
|
+
#
|
|
3040
|
+
# @!attribute [rw] code_location
|
|
3041
|
+
# A code location for code-level instrumentation, including language,
|
|
3042
|
+
# code unit, class, method, file path, and optional line number.
|
|
3043
|
+
# @return [Types::CodeLocation]
|
|
3044
|
+
#
|
|
3045
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/Location AWS API Documentation
|
|
3046
|
+
#
|
|
3047
|
+
class Location < Struct.new(
|
|
3048
|
+
:code_location,
|
|
3049
|
+
:unknown)
|
|
3050
|
+
SENSITIVE = []
|
|
3051
|
+
include Aws::Structure
|
|
3052
|
+
include Aws::Structure::Union
|
|
3053
|
+
|
|
3054
|
+
class CodeLocation < Location; end
|
|
3055
|
+
class Unknown < Location; end
|
|
3056
|
+
end
|
|
3057
|
+
|
|
3058
|
+
# Union type for identifying an instrumentation configuration by code
|
|
3059
|
+
# location or locationHash. Used in Get/Delete/GetStatus operations to
|
|
3060
|
+
# allow flexible identification.
|
|
3061
|
+
#
|
|
3062
|
+
# @note LocationIdentifier is a union - when making an API calls you must set exactly one of the members.
|
|
3063
|
+
#
|
|
3064
|
+
# @!attribute [rw] code_location
|
|
3065
|
+
# The full code location specification (will be hashed internally)
|
|
3066
|
+
# @return [Types::CodeLocation]
|
|
3067
|
+
#
|
|
3068
|
+
# @!attribute [rw] location_hash
|
|
3069
|
+
# The pre-computed location hash (16-character hex string)
|
|
3070
|
+
# @return [String]
|
|
3071
|
+
#
|
|
3072
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/LocationIdentifier AWS API Documentation
|
|
3073
|
+
#
|
|
3074
|
+
class LocationIdentifier < Struct.new(
|
|
3075
|
+
:code_location,
|
|
3076
|
+
:location_hash,
|
|
3077
|
+
:unknown)
|
|
3078
|
+
SENSITIVE = []
|
|
3079
|
+
include Aws::Structure
|
|
3080
|
+
include Aws::Structure::Union
|
|
3081
|
+
|
|
3082
|
+
class CodeLocation < LocationIdentifier; end
|
|
3083
|
+
class LocationHash < LocationIdentifier; end
|
|
3084
|
+
class Unknown < LocationIdentifier; end
|
|
3085
|
+
end
|
|
3086
|
+
|
|
2053
3087
|
# This structure defines the metric used for a service level indicator,
|
|
2054
3088
|
# including the metric name, namespace, and dimensions
|
|
2055
3089
|
#
|
|
@@ -2486,6 +3520,54 @@ module Aws::ApplicationSignals
|
|
|
2486
3520
|
include Aws::Structure
|
|
2487
3521
|
end
|
|
2488
3522
|
|
|
3523
|
+
# @!attribute [rw] service
|
|
3524
|
+
# The service that the reported configurations belong to.
|
|
3525
|
+
# @return [String]
|
|
3526
|
+
#
|
|
3527
|
+
# @!attribute [rw] environment
|
|
3528
|
+
# The environment that the service is running in.
|
|
3529
|
+
# @return [String]
|
|
3530
|
+
#
|
|
3531
|
+
# @!attribute [rw] configurations
|
|
3532
|
+
# An array of configuration status reports (up to 100) that include
|
|
3533
|
+
# the instrumentation type, signal type, location hash, status,
|
|
3534
|
+
# timestamp, and optional error cause.
|
|
3535
|
+
# @return [Array<Types::InstrumentationConfigurationStatusReport>]
|
|
3536
|
+
#
|
|
3537
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ReportInstrumentationConfigurationStatusRequest AWS API Documentation
|
|
3538
|
+
#
|
|
3539
|
+
class ReportInstrumentationConfigurationStatusRequest < Struct.new(
|
|
3540
|
+
:service,
|
|
3541
|
+
:environment,
|
|
3542
|
+
:configurations)
|
|
3543
|
+
SENSITIVE = []
|
|
3544
|
+
include Aws::Structure
|
|
3545
|
+
end
|
|
3546
|
+
|
|
3547
|
+
# @!attribute [rw] service
|
|
3548
|
+
# The service name echoed from the request.
|
|
3549
|
+
# @return [String]
|
|
3550
|
+
#
|
|
3551
|
+
# @!attribute [rw] environment
|
|
3552
|
+
# The environment echoed from the request.
|
|
3553
|
+
# @return [String]
|
|
3554
|
+
#
|
|
3555
|
+
# @!attribute [rw] unprocessed_status_events
|
|
3556
|
+
# Status events that failed to be processed. Each entry includes the
|
|
3557
|
+
# configuration identifiers, status, timestamp, and a reason for the
|
|
3558
|
+
# failure.
|
|
3559
|
+
# @return [Array<Types::UnprocessedStatusEvent>]
|
|
3560
|
+
#
|
|
3561
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/ReportInstrumentationConfigurationStatusResponse AWS API Documentation
|
|
3562
|
+
#
|
|
3563
|
+
class ReportInstrumentationConfigurationStatusResponse < Struct.new(
|
|
3564
|
+
:service,
|
|
3565
|
+
:environment,
|
|
3566
|
+
:unprocessed_status_events)
|
|
3567
|
+
SENSITIVE = []
|
|
3568
|
+
include Aws::Structure
|
|
3569
|
+
end
|
|
3570
|
+
|
|
2489
3571
|
# This structure contains information about the performance metric that
|
|
2490
3572
|
# a request-based SLO monitors.
|
|
2491
3573
|
#
|
|
@@ -3951,6 +5033,48 @@ module Aws::ApplicationSignals
|
|
|
3951
5033
|
include Aws::Structure
|
|
3952
5034
|
end
|
|
3953
5035
|
|
|
5036
|
+
# A status event that could not be processed by the service.
|
|
5037
|
+
#
|
|
5038
|
+
# @!attribute [rw] instrumentation_type
|
|
5039
|
+
# The type of instrumentation configuration for the unprocessed status
|
|
5040
|
+
# event.
|
|
5041
|
+
# @return [String]
|
|
5042
|
+
#
|
|
5043
|
+
# @!attribute [rw] signal_type
|
|
5044
|
+
# The telemetry signal type for the unprocessed status event.
|
|
5045
|
+
# @return [String]
|
|
5046
|
+
#
|
|
5047
|
+
# @!attribute [rw] location_hash
|
|
5048
|
+
# The stable hash of the instrumentation location for the unprocessed
|
|
5049
|
+
# event.
|
|
5050
|
+
# @return [String]
|
|
5051
|
+
#
|
|
5052
|
+
# @!attribute [rw] status
|
|
5053
|
+
# The status that failed to be processed.
|
|
5054
|
+
# @return [String]
|
|
5055
|
+
#
|
|
5056
|
+
# @!attribute [rw] time
|
|
5057
|
+
# The timestamp of the status event that failed to be processed.
|
|
5058
|
+
# @return [Time]
|
|
5059
|
+
#
|
|
5060
|
+
# @!attribute [rw] failed_reason
|
|
5061
|
+
# The reason why this status event could not be processed, such as
|
|
5062
|
+
# throttling or validation errors.
|
|
5063
|
+
# @return [String]
|
|
5064
|
+
#
|
|
5065
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/application-signals-2024-04-15/UnprocessedStatusEvent AWS API Documentation
|
|
5066
|
+
#
|
|
5067
|
+
class UnprocessedStatusEvent < Struct.new(
|
|
5068
|
+
:instrumentation_type,
|
|
5069
|
+
:signal_type,
|
|
5070
|
+
:location_hash,
|
|
5071
|
+
:status,
|
|
5072
|
+
:time,
|
|
5073
|
+
:failed_reason)
|
|
5074
|
+
SENSITIVE = []
|
|
5075
|
+
include Aws::Structure
|
|
5076
|
+
end
|
|
5077
|
+
|
|
3954
5078
|
# @!attribute [rw] resource_arn
|
|
3955
5079
|
# The Amazon Resource Name (ARN) of the CloudWatch resource that you
|
|
3956
5080
|
# want to delete tags from.
|