aws-sdk-securityagent 1.16.0 → 1.17.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-securityagent/client.rb +58 -1
- data/lib/aws-sdk-securityagent/client_api.rb +40 -0
- data/lib/aws-sdk-securityagent/types.rb +86 -0
- data/lib/aws-sdk-securityagent.rb +1 -1
- data/sig/client.rbs +15 -0
- data/sig/types.rbs +23 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: eae54b3ba11b0f4836327afe62abb61f3d33265830f4bb7bc7cf3fac15a0214a
|
|
4
|
+
data.tar.gz: 106cf10c9d45280f1bbd077c6404473fe8da4f1b5d5c70d988b195f20a13a040
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 05c7848d97e76e9f73cd3b888bb639395544d063caf72d8eb35397dae8bcacd17267030620b0a4f30fad1b338e0ce63de58ee0155289e8ee28c7caa8bbbddcd3
|
|
7
|
+
data.tar.gz: dd495fb1528cff93bc75bcfef765e293198d25a0f0d6bbddbda43364439b8bc909b4f76f1286b7dcaec50837adeb0dd4eca09c78ddfad2067b45c60d47809e5c
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.17.0 (2026-09-25)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - This release adds the ListActorMessages operation, which returns the multi-factor authentication messages received at an actor's server-generated email address
|
|
8
|
+
|
|
4
9
|
1.16.0 (2026-09-24)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.17.0
|
|
@@ -3609,6 +3609,63 @@ module Aws::SecurityAgent
|
|
|
3609
3609
|
req.send_request(options)
|
|
3610
3610
|
end
|
|
3611
3611
|
|
|
3612
|
+
# Returns a paginated list of the email MFA messages received for an
|
|
3613
|
+
# actor at its server-generated email address, most recent first.
|
|
3614
|
+
#
|
|
3615
|
+
# @option params [Integer] :max_results
|
|
3616
|
+
# The maximum number of results to return in a single call.
|
|
3617
|
+
#
|
|
3618
|
+
# @option params [String] :next_token
|
|
3619
|
+
# A token to use for paginating results that are returned in the
|
|
3620
|
+
# response. Set the value of this parameter to null for the first
|
|
3621
|
+
# request. For subsequent calls, use the nextToken value returned from
|
|
3622
|
+
# the previous request.
|
|
3623
|
+
#
|
|
3624
|
+
# @option params [required, String] :agent_space_id
|
|
3625
|
+
# The unique identifier of the agent space that owns the pentest.
|
|
3626
|
+
#
|
|
3627
|
+
# @option params [required, String] :pentest_id
|
|
3628
|
+
# The unique identifier of the pentest that the actor belongs to.
|
|
3629
|
+
#
|
|
3630
|
+
# @option params [required, String] :actor_identifier
|
|
3631
|
+
# The identifier of the actor whose messages to list. The identifier is
|
|
3632
|
+
# case-insensitive.
|
|
3633
|
+
#
|
|
3634
|
+
# @return [Types::ListActorMessagesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3635
|
+
#
|
|
3636
|
+
# * {Types::ListActorMessagesOutput#messages #messages} => Array<Types::ActorMessage>
|
|
3637
|
+
# * {Types::ListActorMessagesOutput#next_token #next_token} => String
|
|
3638
|
+
#
|
|
3639
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
3640
|
+
#
|
|
3641
|
+
# @example Request syntax with placeholder values
|
|
3642
|
+
#
|
|
3643
|
+
# resp = client.list_actor_messages({
|
|
3644
|
+
# max_results: 1,
|
|
3645
|
+
# next_token: "NextToken",
|
|
3646
|
+
# agent_space_id: "String", # required
|
|
3647
|
+
# pentest_id: "String", # required
|
|
3648
|
+
# actor_identifier: "String", # required
|
|
3649
|
+
# })
|
|
3650
|
+
#
|
|
3651
|
+
# @example Response structure
|
|
3652
|
+
#
|
|
3653
|
+
# resp.messages #=> Array
|
|
3654
|
+
# resp.messages[0].sender #=> String
|
|
3655
|
+
# resp.messages[0].subject #=> String
|
|
3656
|
+
# resp.messages[0].body #=> String
|
|
3657
|
+
# resp.messages[0].received_at #=> Time
|
|
3658
|
+
# resp.next_token #=> String
|
|
3659
|
+
#
|
|
3660
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListActorMessages AWS API Documentation
|
|
3661
|
+
#
|
|
3662
|
+
# @overload list_actor_messages(params = {})
|
|
3663
|
+
# @param [Hash] params ({})
|
|
3664
|
+
def list_actor_messages(params = {}, options = {})
|
|
3665
|
+
req = build_request(:list_actor_messages, params)
|
|
3666
|
+
req.send_request(options)
|
|
3667
|
+
end
|
|
3668
|
+
|
|
3612
3669
|
# Returns a paginated list of agent space summaries in your account.
|
|
3613
3670
|
#
|
|
3614
3671
|
# @option params [String] :next_token
|
|
@@ -6427,7 +6484,7 @@ module Aws::SecurityAgent
|
|
|
6427
6484
|
tracer: tracer
|
|
6428
6485
|
)
|
|
6429
6486
|
context[:gem_name] = 'aws-sdk-securityagent'
|
|
6430
|
-
context[:gem_version] = '1.
|
|
6487
|
+
context[:gem_version] = '1.17.0'
|
|
6431
6488
|
Seahorse::Client::Request.new(handlers, context)
|
|
6432
6489
|
end
|
|
6433
6490
|
|
|
@@ -20,6 +20,8 @@ module Aws::SecurityAgent
|
|
|
20
20
|
AccessType = Shapes::StringShape.new(name: 'AccessType')
|
|
21
21
|
Actor = Shapes::StructureShape.new(name: 'Actor')
|
|
22
22
|
ActorList = Shapes::ListShape.new(name: 'ActorList')
|
|
23
|
+
ActorMessage = Shapes::StructureShape.new(name: 'ActorMessage')
|
|
24
|
+
ActorMessageList = Shapes::ListShape.new(name: 'ActorMessageList')
|
|
23
25
|
AddArtifactInput = Shapes::StructureShape.new(name: 'AddArtifactInput')
|
|
24
26
|
AddArtifactOutput = Shapes::StructureShape.new(name: 'AddArtifactOutput')
|
|
25
27
|
AgentName = Shapes::StringShape.new(name: 'AgentName')
|
|
@@ -264,6 +266,8 @@ module Aws::SecurityAgent
|
|
|
264
266
|
KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
|
|
265
267
|
LambdaFunctionArn = Shapes::StringShape.new(name: 'LambdaFunctionArn')
|
|
266
268
|
LambdaFunctionArns = Shapes::ListShape.new(name: 'LambdaFunctionArns')
|
|
269
|
+
ListActorMessagesInput = Shapes::StructureShape.new(name: 'ListActorMessagesInput')
|
|
270
|
+
ListActorMessagesOutput = Shapes::StructureShape.new(name: 'ListActorMessagesOutput')
|
|
267
271
|
ListAgentSpacesInput = Shapes::StructureShape.new(name: 'ListAgentSpacesInput')
|
|
268
272
|
ListAgentSpacesOutput = Shapes::StructureShape.new(name: 'ListAgentSpacesOutput')
|
|
269
273
|
ListApplicationsRequest = Shapes::StructureShape.new(name: 'ListApplicationsRequest')
|
|
@@ -401,6 +405,9 @@ module Aws::SecurityAgent
|
|
|
401
405
|
SelfManagedInput = Shapes::StructureShape.new(name: 'SelfManagedInput')
|
|
402
406
|
SensitiveEmail = Shapes::StringShape.new(name: 'SensitiveEmail')
|
|
403
407
|
SensitiveEmailAddress = Shapes::StringShape.new(name: 'SensitiveEmailAddress')
|
|
408
|
+
SensitiveMessageBody = Shapes::StringShape.new(name: 'SensitiveMessageBody')
|
|
409
|
+
SensitiveMessageSender = Shapes::StringShape.new(name: 'SensitiveMessageSender')
|
|
410
|
+
SensitiveMessageSubject = Shapes::StringShape.new(name: 'SensitiveMessageSubject')
|
|
404
411
|
ServiceManagedInput = Shapes::StructureShape.new(name: 'ServiceManagedInput')
|
|
405
412
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
|
406
413
|
ServiceRole = Shapes::StringShape.new(name: 'ServiceRole')
|
|
@@ -548,6 +555,14 @@ module Aws::SecurityAgent
|
|
|
548
555
|
|
|
549
556
|
ActorList.member = Shapes::ShapeRef.new(shape: Actor)
|
|
550
557
|
|
|
558
|
+
ActorMessage.add_member(:sender, Shapes::ShapeRef.new(shape: SensitiveMessageSender, location_name: "sender"))
|
|
559
|
+
ActorMessage.add_member(:subject, Shapes::ShapeRef.new(shape: SensitiveMessageSubject, location_name: "subject"))
|
|
560
|
+
ActorMessage.add_member(:body, Shapes::ShapeRef.new(shape: SensitiveMessageBody, location_name: "body"))
|
|
561
|
+
ActorMessage.add_member(:received_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "receivedAt"))
|
|
562
|
+
ActorMessage.struct_class = Types::ActorMessage
|
|
563
|
+
|
|
564
|
+
ActorMessageList.member = Shapes::ShapeRef.new(shape: ActorMessage)
|
|
565
|
+
|
|
551
566
|
AddArtifactInput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: AgentSpaceId, required: true, location_name: "agentSpaceId"))
|
|
552
567
|
AddArtifactInput.add_member(:artifact_content, Shapes::ShapeRef.new(shape: Blob, required: true, location_name: "artifactContent"))
|
|
553
568
|
AddArtifactInput.add_member(:artifact_type, Shapes::ShapeRef.new(shape: ArtifactType, required: true, location_name: "artifactType"))
|
|
@@ -1611,6 +1626,17 @@ module Aws::SecurityAgent
|
|
|
1611
1626
|
|
|
1612
1627
|
LambdaFunctionArns.member = Shapes::ShapeRef.new(shape: LambdaFunctionArn)
|
|
1613
1628
|
|
|
1629
|
+
ListActorMessagesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
|
1630
|
+
ListActorMessagesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
|
1631
|
+
ListActorMessagesInput.add_member(:agent_space_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "agentSpaceId"))
|
|
1632
|
+
ListActorMessagesInput.add_member(:pentest_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "pentestId"))
|
|
1633
|
+
ListActorMessagesInput.add_member(:actor_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "actorIdentifier"))
|
|
1634
|
+
ListActorMessagesInput.struct_class = Types::ListActorMessagesInput
|
|
1635
|
+
|
|
1636
|
+
ListActorMessagesOutput.add_member(:messages, Shapes::ShapeRef.new(shape: ActorMessageList, location_name: "messages"))
|
|
1637
|
+
ListActorMessagesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
|
1638
|
+
ListActorMessagesOutput.struct_class = Types::ListActorMessagesOutput
|
|
1639
|
+
|
|
1614
1640
|
ListAgentSpacesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
|
1615
1641
|
ListAgentSpacesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
|
1616
1642
|
ListAgentSpacesInput.struct_class = Types::ListAgentSpacesInput
|
|
@@ -3191,6 +3217,20 @@ module Aws::SecurityAgent
|
|
|
3191
3217
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
3192
3218
|
end)
|
|
3193
3219
|
|
|
3220
|
+
api.add_operation(:list_actor_messages, Seahorse::Model::Operation.new.tap do |o|
|
|
3221
|
+
o.name = "ListActorMessages"
|
|
3222
|
+
o.http_method = "POST"
|
|
3223
|
+
o.http_request_uri = "/ListActorMessages"
|
|
3224
|
+
o.input = Shapes::ShapeRef.new(shape: ListActorMessagesInput)
|
|
3225
|
+
o.output = Shapes::ShapeRef.new(shape: ListActorMessagesOutput)
|
|
3226
|
+
o[:pager] = Aws::Pager.new(
|
|
3227
|
+
limit_key: "max_results",
|
|
3228
|
+
tokens: {
|
|
3229
|
+
"next_token" => "next_token"
|
|
3230
|
+
}
|
|
3231
|
+
)
|
|
3232
|
+
end)
|
|
3233
|
+
|
|
3194
3234
|
api.add_operation(:list_agent_spaces, Seahorse::Model::Operation.new.tap do |o|
|
|
3195
3235
|
o.name = "ListAgentSpaces"
|
|
3196
3236
|
o.http_method = "POST"
|
|
@@ -109,6 +109,36 @@ module Aws::SecurityAgent
|
|
|
109
109
|
include Aws::Structure
|
|
110
110
|
end
|
|
111
111
|
|
|
112
|
+
# A message received at an actor's server-generated email MFA address.
|
|
113
|
+
#
|
|
114
|
+
# @!attribute [rw] sender
|
|
115
|
+
# The address the message was sent from.
|
|
116
|
+
# @return [String]
|
|
117
|
+
#
|
|
118
|
+
# @!attribute [rw] subject
|
|
119
|
+
# The subject line of the message.
|
|
120
|
+
# @return [String]
|
|
121
|
+
#
|
|
122
|
+
# @!attribute [rw] body
|
|
123
|
+
# The plain-text body of the message, containing the MFA code or
|
|
124
|
+
# verification link.
|
|
125
|
+
# @return [String]
|
|
126
|
+
#
|
|
127
|
+
# @!attribute [rw] received_at
|
|
128
|
+
# The time the message was received.
|
|
129
|
+
# @return [Time]
|
|
130
|
+
#
|
|
131
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ActorMessage AWS API Documentation
|
|
132
|
+
#
|
|
133
|
+
class ActorMessage < Struct.new(
|
|
134
|
+
:sender,
|
|
135
|
+
:subject,
|
|
136
|
+
:body,
|
|
137
|
+
:received_at)
|
|
138
|
+
SENSITIVE = [:sender, :subject, :body]
|
|
139
|
+
include Aws::Structure
|
|
140
|
+
end
|
|
141
|
+
|
|
112
142
|
# @!attribute [rw] agent_space_id
|
|
113
143
|
# The unique identifier of the agent space to add the artifact to.
|
|
114
144
|
# @return [String]
|
|
@@ -4875,6 +4905,62 @@ module Aws::SecurityAgent
|
|
|
4875
4905
|
include Aws::Structure
|
|
4876
4906
|
end
|
|
4877
4907
|
|
|
4908
|
+
# @!attribute [rw] max_results
|
|
4909
|
+
# The maximum number of results to return in a single call.
|
|
4910
|
+
# @return [Integer]
|
|
4911
|
+
#
|
|
4912
|
+
# @!attribute [rw] next_token
|
|
4913
|
+
# A token to use for paginating results that are returned in the
|
|
4914
|
+
# response. Set the value of this parameter to null for the first
|
|
4915
|
+
# request. For subsequent calls, use the nextToken value returned from
|
|
4916
|
+
# the previous request.
|
|
4917
|
+
# @return [String]
|
|
4918
|
+
#
|
|
4919
|
+
# @!attribute [rw] agent_space_id
|
|
4920
|
+
# The unique identifier of the agent space that owns the pentest.
|
|
4921
|
+
# @return [String]
|
|
4922
|
+
#
|
|
4923
|
+
# @!attribute [rw] pentest_id
|
|
4924
|
+
# The unique identifier of the pentest that the actor belongs to.
|
|
4925
|
+
# @return [String]
|
|
4926
|
+
#
|
|
4927
|
+
# @!attribute [rw] actor_identifier
|
|
4928
|
+
# The identifier of the actor whose messages to list. The identifier
|
|
4929
|
+
# is case-insensitive.
|
|
4930
|
+
# @return [String]
|
|
4931
|
+
#
|
|
4932
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListActorMessagesInput AWS API Documentation
|
|
4933
|
+
#
|
|
4934
|
+
class ListActorMessagesInput < Struct.new(
|
|
4935
|
+
:max_results,
|
|
4936
|
+
:next_token,
|
|
4937
|
+
:agent_space_id,
|
|
4938
|
+
:pentest_id,
|
|
4939
|
+
:actor_identifier)
|
|
4940
|
+
SENSITIVE = []
|
|
4941
|
+
include Aws::Structure
|
|
4942
|
+
end
|
|
4943
|
+
|
|
4944
|
+
# @!attribute [rw] messages
|
|
4945
|
+
# The list of messages received for the actor, most recent first.
|
|
4946
|
+
# @return [Array<Types::ActorMessage>]
|
|
4947
|
+
#
|
|
4948
|
+
# @!attribute [rw] next_token
|
|
4949
|
+
# A token to use for paginating results that are returned in the
|
|
4950
|
+
# response. Set the value of this parameter to null for the first
|
|
4951
|
+
# request. For subsequent calls, use the nextToken value returned from
|
|
4952
|
+
# the previous request.
|
|
4953
|
+
# @return [String]
|
|
4954
|
+
#
|
|
4955
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListActorMessagesOutput AWS API Documentation
|
|
4956
|
+
#
|
|
4957
|
+
class ListActorMessagesOutput < Struct.new(
|
|
4958
|
+
:messages,
|
|
4959
|
+
:next_token)
|
|
4960
|
+
SENSITIVE = []
|
|
4961
|
+
include Aws::Structure
|
|
4962
|
+
end
|
|
4963
|
+
|
|
4878
4964
|
# Input for listing agent spaces.
|
|
4879
4965
|
#
|
|
4880
4966
|
# @!attribute [rw] next_token
|
data/sig/client.rbs
CHANGED
|
@@ -903,6 +903,21 @@ module Aws
|
|
|
903
903
|
) -> _InitiateProviderRegistrationResponseSuccess
|
|
904
904
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _InitiateProviderRegistrationResponseSuccess
|
|
905
905
|
|
|
906
|
+
interface _ListActorMessagesResponseSuccess
|
|
907
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListActorMessagesOutput]
|
|
908
|
+
def messages: () -> ::Array[Types::ActorMessage]
|
|
909
|
+
def next_token: () -> ::String
|
|
910
|
+
end
|
|
911
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#list_actor_messages-instance_method
|
|
912
|
+
def list_actor_messages: (
|
|
913
|
+
?max_results: ::Integer,
|
|
914
|
+
?next_token: ::String,
|
|
915
|
+
agent_space_id: ::String,
|
|
916
|
+
pentest_id: ::String,
|
|
917
|
+
actor_identifier: ::String
|
|
918
|
+
) -> _ListActorMessagesResponseSuccess
|
|
919
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListActorMessagesResponseSuccess
|
|
920
|
+
|
|
906
921
|
interface _ListAgentSpacesResponseSuccess
|
|
907
922
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListAgentSpacesOutput]
|
|
908
923
|
def agent_space_summaries: () -> ::Array[Types::AgentSpaceSummary]
|
data/sig/types.rbs
CHANGED
|
@@ -33,6 +33,14 @@ module Aws::SecurityAgent
|
|
|
33
33
|
SENSITIVE: [:mfa_forwarding_address]
|
|
34
34
|
end
|
|
35
35
|
|
|
36
|
+
class ActorMessage
|
|
37
|
+
attr_accessor sender: ::String
|
|
38
|
+
attr_accessor subject: ::String
|
|
39
|
+
attr_accessor body: ::String
|
|
40
|
+
attr_accessor received_at: ::Time
|
|
41
|
+
SENSITIVE: [:sender, :subject, :body]
|
|
42
|
+
end
|
|
43
|
+
|
|
36
44
|
class AddArtifactInput
|
|
37
45
|
attr_accessor agent_space_id: ::String
|
|
38
46
|
attr_accessor artifact_content: ::String
|
|
@@ -1360,6 +1368,21 @@ module Aws::SecurityAgent
|
|
|
1360
1368
|
SENSITIVE: []
|
|
1361
1369
|
end
|
|
1362
1370
|
|
|
1371
|
+
class ListActorMessagesInput
|
|
1372
|
+
attr_accessor max_results: ::Integer
|
|
1373
|
+
attr_accessor next_token: ::String
|
|
1374
|
+
attr_accessor agent_space_id: ::String
|
|
1375
|
+
attr_accessor pentest_id: ::String
|
|
1376
|
+
attr_accessor actor_identifier: ::String
|
|
1377
|
+
SENSITIVE: []
|
|
1378
|
+
end
|
|
1379
|
+
|
|
1380
|
+
class ListActorMessagesOutput
|
|
1381
|
+
attr_accessor messages: ::Array[Types::ActorMessage]
|
|
1382
|
+
attr_accessor next_token: ::String
|
|
1383
|
+
SENSITIVE: []
|
|
1384
|
+
end
|
|
1385
|
+
|
|
1363
1386
|
class ListAgentSpacesInput
|
|
1364
1387
|
attr_accessor next_token: ::String
|
|
1365
1388
|
attr_accessor max_results: ::Integer
|