Documentation ¶
Overview ¶
snippet-comment:[These are tags for the AWS doc team's sample catalog. Do not remove.] snippet-sourceauthor:[Doug-AWS] snippet-sourcedescription:[create_trail.go demonstrates how to create a CloudTrail trail.] snippet-keyword:[Amazon CloudTrail] snippet-keyword:[CreateTrail function] snippet-keyword:[Go] snippet-sourcesyntax:[go] snippet-service:cloudtrail snippet-keyword:[Code Sample] snippet-sourcetype:[full-example] snippet-sourcedate:[2020-1-6]
Copyright 2010-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. This file is licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with the License. A copy of the License is located at http://aws.amazon.com/apache2.0/ This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
snippet-start:[cloudtrail.go.create_trail.complete]
snippet-comment:[These are tags for the AWS doc team's sample catalog. Do not remove.] snippet-sourceauthor:[Doug-AWS] snippet-sourcedescription:[Deletes an AWS CloudTrail trail.] snippet-keyword:[AWS CloudTrail] snippet-keyword:[DeleteTrail function] snippet-keyword:[Go] snippet-sourcesyntax:[go] snippet-service:cloudtrail snippet-keyword:[Code Sample] snippet-sourcetype:[full-example] snippet-sourcedate:[2020-1-6]
Copyright 2010-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. This file is licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with the License. A copy of the License is located at http://aws.amazon.com/apache2.0/ This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
snippet-start:[cloudtrail.go.delete_trail.complete]
snippet-comment:[These are tags for the AWS doc team's sample catalog. Do not remove.] snippet-sourceauthor:[Doug-AWS] snippet-sourcedescription:[Lists the AWS CloudTrail events.] snippet-keyword:[AWS CloudTrail] snippet-keyword:[LookupEvents function] snippet-keyword:[Go] snippet-sourcesyntax:[go] snippet-service:cloudtrail snippet-keyword:[Code Sample] snippet-sourcetype:[full-example] snippet-sourcedate:[2020-1-6]
Copyright 2010-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. This file is licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with the License. A copy of the License is located at http://aws.amazon.com/apache2.0/ This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
snippet-start:[cloudtrail.go.lookup_events.complete]