Class: Aws::SecurityIR::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::SecurityIR::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb
Overview
An API client for SecurityIR. To construct a client, you need to configure a :region
and :credentials
.
client = Aws::SecurityIR::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#batch_get_member_account_details(params = {}) ⇒ Types::BatchGetMemberAccountDetailsResponse
Grants permission to view an existing membership.
-
#cancel_membership(params = {}) ⇒ Types::CancelMembershipResponse
Grants permissions to cancel an existing membership.
-
#close_case(params = {}) ⇒ Types::CloseCaseResponse
Grants permission to close an existing case.
-
#create_case(params = {}) ⇒ Types::CreateCaseResponse
Grants permission to create a new case.
-
#create_case_comment(params = {}) ⇒ Types::CreateCaseCommentResponse
Grants permission to add a comment to an existing case.
-
#create_membership(params = {}) ⇒ Types::CreateMembershipResponse
Grants permissions to create a new membership.
-
#get_case(params = {}) ⇒ Types::GetCaseResponse
Grant permission to view a designated case.
-
#get_case_attachment_download_url(params = {}) ⇒ Types::GetCaseAttachmentDownloadUrlResponse
Grants permission to obtain an Amazon S3 presigned URL to download an attachment.
-
#get_case_attachment_upload_url(params = {}) ⇒ Types::GetCaseAttachmentUploadUrlResponse
Grants permission to upload an attachment to a case.
-
#get_membership(params = {}) ⇒ Types::GetMembershipResponse
Grants permission to get details of a designated service membership.
-
#list_case_edits(params = {}) ⇒ Types::ListCaseEditsResponse
Grants permissions to view the aidt log for edits made to a designated case.
-
#list_cases(params = {}) ⇒ Types::ListCasesResponse
Grants permission to list all cases the requester has access to.
-
#list_comments(params = {}) ⇒ Types::ListCommentsResponse
Grants permissions to list and view comments for a designated case.
-
#list_memberships(params = {}) ⇒ Types::ListMembershipsResponse
Grants permission to query the memberships a principal has access to.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceOutput
Grants permission to view currently configured tags on a resource.
-
#tag_resource(params = {}) ⇒ Struct
Grants permission to add a tag(s) to a designated resource.
-
#untag_resource(params = {}) ⇒ Struct
Grants permission to remove a tag(s) from a designate resource.
-
#update_case(params = {}) ⇒ Struct
Grants permission to update an existing case.
-
#update_case_comment(params = {}) ⇒ Types::UpdateCaseCommentResponse
Grants permission to update an existing case comment.
-
#update_case_status(params = {}) ⇒ Types::UpdateCaseStatusResponse
Grants permission to update the status for a designated cases.
-
#update_membership(params = {}) ⇒ Struct
Grants access to UpdateMembership to change membership configuration.
-
#update_resolver_type(params = {}) ⇒ Types::UpdateResolverTypeResponse
Grants permission to update the resolver type for a case.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
444 445 446 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 444 def initialize(*args) super end |
Instance Method Details
#batch_get_member_account_details(params = {}) ⇒ Types::BatchGetMemberAccountDetailsResponse
Grants permission to view an existing membership.
508 509 510 511 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 508 def batch_get_member_account_details(params = {}, = {}) req = build_request(:batch_get_member_account_details, params) req.send_request() end |
#cancel_membership(params = {}) ⇒ Types::CancelMembershipResponse
Grants permissions to cancel an existing membership.
549 550 551 552 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 549 def cancel_membership(params = {}, = {}) req = build_request(:cancel_membership, params) req.send_request() end |
#close_case(params = {}) ⇒ Types::CloseCaseResponse
Grants permission to close an existing case.
593 594 595 596 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 593 def close_case(params = {}, = {}) req = build_request(:close_case, params) req.send_request() end |
#create_case(params = {}) ⇒ Types::CreateCaseResponse
Grants permission to create a new case.
741 742 743 744 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 741 def create_case(params = {}, = {}) req = build_request(:create_case, params) req.send_request() end |
#create_case_comment(params = {}) ⇒ Types::CreateCaseCommentResponse
Grants permission to add a comment to an existing case.
795 796 797 798 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 795 def create_case_comment(params = {}, = {}) req = build_request(:create_case_comment, params) req.send_request() end |
#create_membership(params = {}) ⇒ Types::CreateMembershipResponse
Grants permissions to create a new membership.
889 890 891 892 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 889 def create_membership(params = {}, = {}) req = build_request(:create_membership, params) req.send_request() end |
#get_case(params = {}) ⇒ Types::GetCaseResponse
Grant permission to view a designated case.
1019 1020 1021 1022 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1019 def get_case(params = {}, = {}) req = build_request(:get_case, params) req.send_request() end |
#get_case_attachment_download_url(params = {}) ⇒ Types::GetCaseAttachmentDownloadUrlResponse
Grants permission to obtain an Amazon S3 presigned URL to download an attachment.
1067 1068 1069 1070 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1067 def (params = {}, = {}) req = build_request(:get_case_attachment_download_url, params) req.send_request() end |
#get_case_attachment_upload_url(params = {}) ⇒ Types::GetCaseAttachmentUploadUrlResponse
Grants permission to upload an attachment to a case.
1127 1128 1129 1130 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1127 def (params = {}, = {}) req = build_request(:get_case_attachment_upload_url, params) req.send_request() end |
#get_membership(params = {}) ⇒ Types::GetMembershipResponse
Grants permission to get details of a designated service membership.
1222 1223 1224 1225 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1222 def get_membership(params = {}, = {}) req = build_request(:get_membership, params) req.send_request() end |
#list_case_edits(params = {}) ⇒ Types::ListCaseEditsResponse
Grants permissions to view the aidt log for edits made to a designated case.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1291 1292 1293 1294 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1291 def list_case_edits(params = {}, = {}) req = build_request(:list_case_edits, params) req.send_request() end |
#list_cases(params = {}) ⇒ Types::ListCasesResponse
Grants permission to list all cases the requester has access to.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1364 1365 1366 1367 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1364 def list_cases(params = {}, = {}) req = build_request(:list_cases, params) req.send_request() end |
#list_comments(params = {}) ⇒ Types::ListCommentsResponse
Grants permissions to list and view comments for a designated case.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1430 1431 1432 1433 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1430 def list_comments(params = {}, = {}) req = build_request(:list_comments, params) req.send_request() end |
#list_memberships(params = {}) ⇒ Types::ListMembershipsResponse
Grants permission to query the memberships a principal has access to.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1491 1492 1493 1494 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1491 def list_memberships(params = {}, = {}) req = build_request(:list_memberships, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceOutput
Grants permission to view currently configured tags on a resource.
1536 1537 1538 1539 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1536 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Grants permission to add a tag(s) to a designated resource.
1581 1582 1583 1584 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1581 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Grants permission to remove a tag(s) from a designate resource.
1618 1619 1620 1621 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1618 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_case(params = {}) ⇒ Struct
Grants permission to update an existing case.
1810 1811 1812 1813 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1810 def update_case(params = {}, = {}) req = build_request(:update_case, params) req.send_request() end |
#update_case_comment(params = {}) ⇒ Types::UpdateCaseCommentResponse
Grants permission to update an existing case comment.
1866 1867 1868 1869 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1866 def update_case_comment(params = {}, = {}) req = build_request(:update_case_comment, params) req.send_request() end |
#update_case_status(params = {}) ⇒ Types::UpdateCaseStatusResponse
Grants permission to update the status for a designated cases. Options
include Submitted | Detection and Analysis | Eradication, Containment
and Recovery | Post-Incident Activities | Closed
.
1915 1916 1917 1918 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1915 def update_case_status(params = {}, = {}) req = build_request(:update_case_status, params) req.send_request() end |
#update_membership(params = {}) ⇒ Struct
Grants access to UpdateMembership to change membership configuration.
1992 1993 1994 1995 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1992 def update_membership(params = {}, = {}) req = build_request(:update_membership, params) req.send_request() end |
#update_resolver_type(params = {}) ⇒ Types::UpdateResolverTypeResponse
Grants permission to update the resolver type for a case.
This is a one-way action and cannot be reversed.
Options include self-supported > AWS-supported.
2048 2049 2050 2051 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 2048 def update_resolver_type(params = {}, = {}) req = build_request(:update_resolver_type, params) req.send_request() end |