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.
473 474 475 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 473 def initialize(*args) super end |
Instance Method Details
#batch_get_member_account_details(params = {}) ⇒ Types::BatchGetMemberAccountDetailsResponse
Grants permission to view an existing membership.
537 538 539 540 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 537 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.
578 579 580 581 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 578 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.
622 623 624 625 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 622 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.
770 771 772 773 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 770 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.
824 825 826 827 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 824 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.
918 919 920 921 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 918 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.
1048 1049 1050 1051 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1048 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.
1096 1097 1098 1099 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1096 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.
1156 1157 1158 1159 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1156 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.
1251 1252 1253 1254 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1251 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.
1320 1321 1322 1323 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1320 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.
1393 1394 1395 1396 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1393 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.
1459 1460 1461 1462 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1459 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.
1520 1521 1522 1523 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1520 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.
1565 1566 1567 1568 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1565 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.
1610 1611 1612 1613 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1610 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.
1647 1648 1649 1650 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1647 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.
1839 1840 1841 1842 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1839 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.
1895 1896 1897 1898 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1895 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
.
1944 1945 1946 1947 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 1944 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.
2021 2022 2023 2024 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 2021 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.
2077 2078 2079 2080 |
# File 'gems/aws-sdk-securityir/lib/aws-sdk-securityir/client.rb', line 2077 def update_resolver_type(params = {}, = {}) req = build_request(:update_resolver_type, params) req.send_request() end |